#include "dk4conf.h" #include #if DK4_HAVE_STDLIB_H #include #endif #if DK4_HAVE_UNISTD_H #include #endif #if DK4_HAVE_PROCESS_H #include #endif #if DK4_HAVE_WXWIDGETS /* wxWidgets_header_start */ #if DK4_HAVE_WXWIDGETS #include #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #if DK4_HAVE_WX_CHARTYPE_H #if DK4_HAVE_WX_DEFS_H #ifndef WX_DEFS_H_INCLUDED #include #define WX_DEFS_H_INCLUDED 1 #endif #endif #ifndef WX_CHARTYPE_H_INCLUDED #include #define WX_CHARTYPE_H_INCLUDED 1 #endif #else #if DK4_HAVE_WX_WXCHAR_H #if DK4_HAVE_WX_DEFS_H #ifndef WX_DEFS_H_INCLUDED #include #define WX_DEFS_H_INCLUDED 1 #endif #endif #ifndef WX_WXCHAR_H_INCLUDED #include #define WX_WXCHAR_H_INCLUDED 1 #endif #else #ifndef WX_WX_H_INCLUDED #include #define WX_WX_H_INCLUDED 1 #endif #endif #endif #endif #endif /* wxWidgets_header_end*/ int main(void) { printf("/**\t@file\tdk4wxcs.h\tConfigure size of wide characters.\n*/\n\n"); printf("#ifndef DK4WXCSZ_H_INCLUDED\n"); printf("/** Protection against multiple inclusions. */\n"); printf("#define DK4WXCSZ_H_INCLUDED 1\n\n"); printf("/** Size of wxChar.\n*/\n"); printf("#define DK4_SIZEOF_WXCHAR %u\n\n", (unsigned)sizeof(wxChar)); printf("#endif\n"); return 0; } #else int main(void) { printf("/**\t@file\tdk4wxcs.h\tConfigure size of wide characters.\n*/\n\n"); printf("#ifndef DK4WXCSZ_H_INCLUDED\n"); printf("/** Protection against multiple inclusions. */\n"); printf("#define DK4WXCSZ_H_INCLUDED 1\n\n"); printf("/** Size of wxChar.\n*/\n"); printf("#define DK4_SIZEOF_WXCHAR 0\n\n"); printf("#endif\n"); return 0; } #endif