dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/cscc c_main.c,1.12,1.13


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc c_main.c,1.12,1.13
Date: Wed, 02 Jul 2003 21:19:07 -0400

Update of /cvsroot/dotgnu-pnet/pnet/cscc
In directory subversions:/tmp/cvs-serv18552/cscc

Modified Files:
        c_main.c 
Log Message:


Quote cpp arguments that contain spaces on MacOS X.


Index: c_main.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c_main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** c_main.c    1 Apr 2003 00:26:16 -0000       1.12
--- c_main.c    3 Jul 2003 01:19:05 -0000       1.13
***************
*** 60,72 ****
                CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                                "__WORDSIZE=64");
                CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                                "__PTRDIFF_TYPE__=long long");
        }
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
!                                       "__SIZE_TYPE__=unsigned int");
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
!                                       "__WCHAR_TYPE__=__wchar__");
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__WINT_TYPE__=unsigned int");
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__VERSION__=\"" VERSION " (cscc)\"");
--- 60,84 ----
                CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                                "__WORDSIZE=64");
+ #if defined(__APPLE__) && defined(__MACH__)
+               CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
+                                               "__PTRDIFF_TYPE__=\"long 
long\"");
+ #else
                CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                                "__PTRDIFF_TYPE__=long long");
+ #endif
        }
+ #if defined(__APPLE__) && defined(__MACH__)
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
!                                       "__SIZE_TYPE__=\"unsigned int\"");
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
!                                       "__WINT_TYPE__=\"unsigned int\"");
! #else
!       CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
!                                       "__SIZE_TYPE__=unsigned int");
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__WINT_TYPE__=unsigned int");
+ #endif
+       CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
+                                       "__WCHAR_TYPE__=__wchar__");
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__VERSION__=\"" VERSION " (cscc)\"");





reply via email to

[Prev in Thread] Current Thread [Next in Thread]