1 /* CMake config.h for Hatari */ 2 //RETRO HACK 3 4 /* Define if you have a PNG compatible library */ 5 //#define HAVE_LIBPNG 1 6 7 /* Define if you have a readline compatible library */ 8 //#define HAVE_LIBREADLINE 1 9 10 /* Define if you have the PortAudio library */ 11 //#define HAVE_PORTAUDIO 1 12 13 /* Define if you have the capsimage library */ 14 //#define HAVE_CAPSIMAGE 1 15 16 /* Define if you have a X11 environment */ 17 //#define HAVE_X11 1 18 19 /* Define to 1 if you have the `z' library (-lz). */ 20 #define HAVE_LIBZ 1 21 22 /* Define to 1 if you have the <zlib.h> header file. */ 23 #define HAVE_ZLIB_H 1 24 25 /* Define to 1 if you have the <termios.h> header file. */ 26 //#define HAVE_TERMIOS_H 1 27 28 /* Define to 1 if you have the <glob.h> header file. */ 29 //#define HAVE_GLOB_H 1 30 31 /* Define to 1 if you have the <strings.h> header file. */ 32 #define HAVE_STRINGS_H 1 33 34 /* Define to 1 if you have the <SDL/SDL_config.h> header file. */ 35 //#define HAVE_SDL_SDL_CONFIG_H 1 36 37 /* Define to 1 if you have the <sys/times.h> header file. */ 38 #define HAVE_SYS_TIMES_H 1 39 40 /* Define to 1 if you have the `cfmakeraw' function. */ 41 //#define HAVE_CFMAKERAW 1 42 43 /* Define to 1 if you have the 'setenv' function. */ 44 //#define HAVE_SETENV 1 45 46 /* Define to 1 if you have the `select' function. */ 47 //#define HAVE_SELECT 1 48 49 /* Define to 1 if you have unix domain sockets */ 50 //#define HAVE_UNIX_DOMAIN_SOCKETS 1 51 52 #ifdef __LIBRETRO__ 53 #if defined(AND) || defined(__PS3__) || defined(WIIU) || defined(VITA) 54 #undef HAVE_POSIX_MEMALIGN 55 #else 56 #define HAVE_POSIX_MEMALIGN 1 57 #endif 58 #else 59 /* Define to 1 if you have the 'posix_memalign' function. */ 60 #define HAVE_POSIX_MEMALIGN 1 61 #endif 62 63 /* Define to 1 if you have the 'posix_memalign' function. */ 64 //#define HAVE_POSIX_MEMALIGN 1 65 66 /* Define to 1 if you have the 'memalign' function. */ 67 #define HAVE_MEMALIGN 1 68 69 /* Define to 1 if you have the 'gettimeofday' function. */ 70 #define HAVE_GETTIMEOFDAY 1 71 72 /* Define to 1 if you have the 'nanosleep' function. */ 73 //#define HAVE_NANOSLEEP 1 74 75 /* Define to 1 if you have the 'alphasort' function. */ 76 #ifndef WIN32PORT 77 #if !defined(WIIU) && !defined(VITA) 78 #define HAVE_ALPHASORT 1 79 #endif 80 #endif 81 /* Define to 1 if you have the 'scandir' function. */ 82 #if !defined(WIIU) && !defined(VITA) 83 #define HAVE_SCANDIR 1 84 #endif 85 86 #ifdef __LIBRETRO__ 87 #if defined(AND) || defined(__PS3__) || defined(WIN32PORT) || defined(WIIU) || defined(VITA) 88 #undef HAVE_STATVFS 89 #else 90 #define HAVE_STATVFS 1 91 #endif 92 #else 93 /* Define to 1 if you have the 'statvfs' function. */ 94 #define HAVE_STATVFS 1 95 #endif 96 /* Define to 1 if you have the 'statvfs' function. */ 97 //#define HAVE_STATVFS 1 98 99 /* Define to 1 if you have the 'fseeko' function. */ 100 //#define HAVE_FSEEKO 1 101 102 /* Define to 1 if you have the 'ftello' function. */ 103 //#define HAVE_FTELLO 1 104 #if defined(WIIU) || defined(VITA) 105 #define utime(file,time) 0 106 #endif 107 108 /* Relative path from bindir to datadir */ 109 #define BIN2DATADIR "." 110 111 /* Define to 1 to enable DSP 56k emulation for Falcon mode */ 112 #define ENABLE_DSP_EMU 1 113 114 /* Define to 1 to enable WINUAE cpu */ 115 //#define ENABLE_WINUAE_CPU 1 116 117 /* Define to 1 to use less memory - at the expense of emulation speed */ 118 //#define ENABLE_SMALL_MEM 1 119 120 /* Define to 1 to enable trace logs - undefine to slightly increase speed */ 121 //#define ENABLE_TRACING 1 122