1 // This file is part of Deark.
2 // Copyright (C) 2016 Jason Summers
3 // See the file COPYING for terms of use.
5 // This file is for things that need to happen before the system header files
6 // are #included. That includes #defines that might help us decide which system
7 // headers to #include.
9 #ifdef DEARK_CONFIG_H_INC
10 #error "deark-config.h included multiple times"
12 #define DEARK_CONFIG_H_INC
14 #if !defined(DE_WINDOWS) && !defined(DE_UNIX)
25 #define _WIN32_WINNT 0x0501 // 0x0501=WinXP, 0x0600=Vista
35 #ifndef DE_USE_WINDOWS_INTTYPES
36 #define DE_USE_WINDOWS_INTTYPES 1
44 #define DE_USE_FSEEKO 1
48 #define DE_USE_LSTAT 1
51 #ifndef DE_USE_WINDOWS_INTTYPES
52 #define DE_USE_WINDOWS_INTTYPES 0
57 // Post-system-header platform-specific things can optionally go in a
58 // deark-config2.h file. See deark.h.
59 //#define DE_USE_CONFIG2_H