Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.156
 
1.157
 
MAIN:ragge:20100421085419
 
cc.c
_>272272 
 273273 #define SZWFL   (sizeof(Wflags)/sizeof(Wflags[0]))
 274274 
<> 275+/*
  276+ * Wide char defines.
  277+ */
  278+#if WCHAR_TYPE == USHORT
  279+#define WCT "short unsigned int"
  280+#define WCM "65535U"
  281+#elif WCHAR_TYPE == INT
  282+#define WCT "int"
  283+#define WCM "2147483647"
  284+#elif WCHAR_TYPE == UNSIGNED
  285+#define WCT "unsigned int"
  286+#define WCM "294967295U"
  287+#endif
  288+
275289 int
 276290 main(int argc, char *argv[])
 277291 {
     
 !
713727                 for (j = 0; cppadd[j]; j++)
 714728                         av[na++] = cppadd[j];
 715729                 av[na++] = "-D__STDC_ISO_10646__=200009L";
<>716 -#if WCHAR_SIZE == 2
 717 -                av[na++] = "-D__WCHAR_TYPE__=short unsigned int";
 718 -                av[na++] = "-D__SIZEOF_WCHAR_T__=2";
 719 -                av[na++] = "-D__WCHAR_MAX__=65535U";
 720 -#else
 721 -                av[na++] = "-D__WCHAR_TYPE__=unsigned int";
 722 -                av[na++] = "-D__SIZEOF_WCHAR_T__=4";
 723 -                av[na++] = "-D__WCHAR_MAX__=4294967295U";
  730+#ifdef WCHAR_SIZE
  731+                av[na++] = "-D__WCHAR_TYPE__=" WCT;
  732+                av[na++] = "-D__SIZEOF_WCHAR_T__=" MKS(WCHAR_SIZE);
  733+                av[na++] = "-D__WCHAR_MAX__=" WCM;
<_724734 #endif
 725735                 av[na++] = "-D__WINT_TYPE__=unsigned int";
 726736                 av[na++] = "-D__SIZE_TYPE__=unsigned long";
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-17 05:33 +0200