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.14,1.15


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/cscc c_main.c,1.14,1.15
Date: Thu, 14 Aug 2003 20:09:56 -0400

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

Modified Files:
        c_main.c 
Log Message:


Add some extra keywords to the C compiler, so that spaces
and quotes can be avoided in the cpp options for MacOS X.


Index: c_main.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/c_main.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** c_main.c    3 Jul 2003 01:20:49 -0000       1.14
--- c_main.c    15 Aug 2003 00:09:53 -0000      1.15
***************
*** 60,83 ****
                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\"");
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__VERSION__=\"" VERSION "-cscc\"");
  #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");
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__VERSION__=\"" VERSION " (cscc)\"");
--- 60,74 ----
                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,
!                                       "__WINT_TYPE__=__unsigned_int__");
! #if defined(__APPLE__) && defined(__MACH__)
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__VERSION__=\"" VERSION "-cscc\"");
  #else
        CCStringListAdd(&pre_defined_symbols, &num_pre_defined_symbols,
                                        "__VERSION__=\"" VERSION " (cscc)\"");





reply via email to

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