| 1 | /*
|
|---|
| 2 | * Config file for visual studio build
|
|---|
| 3 | */
|
|---|
| 4 | #define PREPROCESSOR "%PCCDIR%\\libexec\\cpp.exe"
|
|---|
| 5 | #define COMPILER "%PCCDIR%\\libexec\\ccom.exe"
|
|---|
| 6 |
|
|---|
| 7 | #define USE_YASM
|
|---|
| 8 |
|
|---|
| 9 | #ifdef USE_YASM
|
|---|
| 10 | #define ASSEMBLER "yasm.exe"
|
|---|
| 11 | #else
|
|---|
| 12 | #define ASSEMBLER "gas.exe"
|
|---|
| 13 | #endif
|
|---|
| 14 |
|
|---|
| 15 | #ifdef USE_MSLINKER
|
|---|
| 16 | #define LINKER "link.exe /nologo"
|
|---|
| 17 | #define MSLINKER
|
|---|
| 18 | #else
|
|---|
| 19 | #define LINKER "ld.exe"
|
|---|
| 20 | #endif
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | #define PECOFFABI
|
|---|
| 24 |
|
|---|
| 25 | #define STDINC "%PCCDIR%\\include\\"
|
|---|
| 26 | #define LIBDIR "%PCCDIR%\\lib\\"
|
|---|
| 27 | #define INCLUDEDIR STDINC
|
|---|
| 28 | #define PCCLIBDIR "%PCCDIR%\\lib\\i386-win32\\0.9.9\\lib\\"
|
|---|
| 29 | #define PCCINCDIR "%PCCDIR%\\lib\\i386-win32\\0.9.9\\include\\"
|
|---|
| 30 |
|
|---|
| 31 | #if !defined(vsnprintf)
|
|---|
| 32 | #define vsnprintf _vsnprintf
|
|---|
| 33 | #endif
|
|---|
| 34 | /* windows defines (u)uintptr_t in stddef.h, not inttypes.h */
|
|---|
| 35 | #include <stddef.h>
|
|---|
| 36 | #if !defined(snprintf)
|
|---|
| 37 | #define snprintf _snprintf
|
|---|
| 38 | #endif
|
|---|
| 39 |
|
|---|
| 40 | #ifndef STDERR_FILENO
|
|---|
| 41 | #define STDERR_FILENO 2
|
|---|
| 42 | #endif
|
|---|
| 43 |
|
|---|
| 44 | #define inline __inline
|
|---|
| 45 |
|
|---|
| 46 | /* #define HAVE_INTTYPES_H 1 */
|
|---|
| 47 | #define HAVE_MEMORY_H 1
|
|---|
| 48 | /* #define HAVE_MKSTEMP 1 */
|
|---|
| 49 |
|
|---|
| 50 | #ifndef __MSC__
|
|---|
| 51 | #define HAVE_STDINT_H 1
|
|---|
| 52 | #endif
|
|---|
| 53 |
|
|---|
| 54 | #define HAVE_STDLIB_H 1
|
|---|
| 55 | /* #define HAVE_STRINGS_H 1 */
|
|---|
| 56 | #define HAVE_STRING_H 1
|
|---|
| 57 | /* #define HAVE_STRLCAT 1 */
|
|---|
| 58 | /* #define HAVE_STRLCPY 1 */
|
|---|
| 59 | #define HAVE_SYS_STAT_H 1
|
|---|
| 60 | #define HAVE_SYS_TYPES_H 1
|
|---|
| 61 | #define HAVE_SNPRINTF 1
|
|---|
| 62 | #define HAVE_VSNPRINTF 1
|
|---|
| 63 | /* #define HAVE_UNISTD_H 1 */
|
|---|
| 64 | /* #define HOST_BIG_ENDIAN */
|
|---|
| 65 | #define HOST_LITTLE_ENDIAN
|
|---|
| 66 | #define ISFLEX 1
|
|---|
| 67 |
|
|---|
| 68 | #define PACKAGE_NAME "pcc"
|
|---|
| 69 | #define PACKAGE_STRING "pcc 0.9.9"
|
|---|
| 70 | #define PACKAGE_TARNAME "pcc"
|
|---|
| 71 | #define PACKAGE_VERSION "0.9.9"
|
|---|
| 72 | #define PCC_MAJOR 0
|
|---|
| 73 | #define PCC_MINOR 9
|
|---|
| 74 | #define PCC_MINORMINOR 9
|
|---|
| 75 | #define STDC_HEADERS 1
|
|---|
| 76 | #define TARGET_LITTLE_ENDIAN 1
|
|---|
| 77 | /* #define TARGOS win32 */
|
|---|
| 78 | #define VERSSTR "pcc 0.9.9 for win32, gmcgarry@pcc.ludd.ltu.se"
|
|---|
| 79 | #define WCHAR_SIZE 2
|
|---|
| 80 | #define WCHAR_TYPE USHORT
|
|---|
| 81 | #define YYTEXT_POINTER 1
|
|---|