sc68fordevelopers
2.2.1
|
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 vsprintf() exists */ 00017 #if 1 00018 # define HAVE_VSPRINTF 1 00019 #else 00020 # undef HAVE_VSPRINTF 00021 #endif 00022 00023 /* Define if vsnprintf() exists */ 00024 #if 1 00025 # define HAVE_VSNPRINTF 1 00026 #else 00027 # undef HAVE_VSNPRINTF 00028 #endif 00029 00030 /* Define if getenv() exists */ 00031 #if 1 00032 # define HAVE_GETENV 1 00033 #else 00034 # undef HAVE_GETENV 00035 #endif 00036 00037 /* Define if <zlib.h> exists */ 00038 #if 1 00039 # define HAVE_ZLIB_H 1 00040 #else 00041 # undef HAVE_ZLIB_H 00042 #endif 00043 00044 /* Define if <readline/readline.h> exists */ 00045 #if 1 00046 # define HAVE_READLINE_READLINE_H 1 00047 #else 00048 # undef HAVE_READLINE_READLINE_H 00049 #endif 00050 00051 /* Define if <readline/history.h> exists */ 00052 #if 1 00053 # define HAVE_READLINE_HISTORY_H 1 00054 #else 00055 # undef HAVE_READLINE_HISTORY_H 00056 #endif 00057 00058 #endif /* #ifdef HAVE_CONFIG_H */ 00059 00060 /* Fallback */ 00061 #ifndef NO_FALLBACK_CONFIG 00062 00063 #ifdef _MSC_VER 00064 # define HAVE_GETENV 1 00065 # define HAVE_ZLIB_H 1 00066 # define BREAKPOINT68 __asm int 3 00067 # define vsnprintf _vsnprintf 00068 # define vsprintf _vsprintf 00069 # ifndef CDECL 00070 # define CDECL __cdecl 00071 # endif 00072 #endif 00073 00074 #ifndef BREAKPOINT68 00075 # define BREAKPOINT68 00076 #endif 00077 00078 #ifndef CDECL 00079 # define CDECL 00080 #endif 00081 00082 #endif /* #ifndef NO_FALLBACK_CONFIG */ 00083 00084 #endif /* #ifndef _SC68_CONFIG_PLATFORM68_H_ */