Home Download Musics Developers
API Sources Tools File Format Technicals

config_platform68.h

00001 /* sc68 platform dependant configuration */
00002 
00003 #ifndef _SC68_CONFIG_PLATFORM68_H_
00004 #define _SC68_CONFIG_PLATFORM68_H_
00005 
00006 #ifdef HAVE_CONFIG_H
00007 
00008 /* Breakpoint instruction */
00009 #ifndef BREAKPOINT68
00010 # define BREAKPOINT68 if (1) { *(int *)1 = 0x12345678; } else
00011 #endif
00012 
00013 /* CDECL keyword */
00014 #define CDECL
00015 
00016 /* Define if sleep() exists */
00017 #if 1
00018 # define HAVE_SLEEP 1
00019 #else
00020 # undef HAVE_SLEEP
00021 #endif
00022 
00023 /* Define if usleep() exists */
00024 #if 1
00025 # define HAVE_USLEEP 1
00026 #else
00027 # undef HAVE_USLEEP
00028 #endif
00029 
00030 /* Define if vsprintf() exists */
00031 #if 1
00032 # define HAVE_VSPRINTF 1
00033 #else
00034 # undef HAVE_VSPRINTF
00035 #endif
00036 
00037 /* Define if vsnprintf() exists */
00038 #if 1
00039 # define HAVE_VSNPRINTF 1
00040 #else
00041 # undef HAVE_VSNPRINTF
00042 #endif
00043 
00044 /* Define if getenv() exists */
00045 #if 1
00046 # define HAVE_GETENV 1
00047 #else
00048 # undef HAVE_GETENV
00049 #endif
00050 
00051 /* Define if <zlib.h> exists */
00052 #if 1
00053 # define HAVE_ZLIB_H 1
00054 #else
00055 # undef HAVE_ZLIB_H
00056 #endif
00057 
00058 /* Define if <readline/readline.h> exists */
00059 #if 1
00060 # define HAVE_READLINE_READLINE_H 1
00061 #else
00062 # undef HAVE_READLINE_READLINE_H
00063 #endif
00064 
00065 /* Define if <readline/history.h> exists */
00066 #if 1
00067 # define HAVE_READLINE_HISTORY_H 1
00068 #else
00069 # undef HAVE_READLINE_HISTORY_H
00070 #endif
00071 
00072 #endif /* #ifdef HAVE_CONFIG_H */
00073 
00074 /* Fallback */
00075 #ifndef NO_FALLBACK_CONFIG
00076 
00077 #ifdef _MSC_VER
00078 # define HAVE_GETENV 1
00079 # define HAVE_ZLIB_H 1
00080 # define BREAKPOINT68 __asm int 3
00081 # define vsnprintf _vsnprintf
00082 # define vsprintf _vsprintf
00083 # ifndef CDECL
00084 #  define CDECL __cdecl
00085 # endif
00086 #endif
00087 
00088 #ifndef BREAKPOINT68
00089 # define BREAKPOINT68
00090 #endif
00091 
00092 #ifndef CDECL
00093 # define CDECL
00094 #endif
00095 
00096 #endif /* #ifndef NO_FALLBACK_CONFIG */
00097 
00098 #endif /* #ifndef _SC68_CONFIG_PLATFORM68_H_ */