#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 #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include "wx/wx.h" #endif int main(int argc, char *argv[]) { 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(int argc, char *argv[]) { 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