Update of /cvsroot/pure-data/externals/ggee/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24692/gui
Modified Files: state.c w_envgen.h Log Message: updated windows macro to automatically defined _WIN32 to smooth Windows building
Index: state.c =================================================================== RCS file: /cvsroot/pure-data/externals/ggee/gui/state.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** state.c 14 Nov 2005 21:59:09 -0000 1.7 --- state.c 3 Jul 2007 11:04:57 -0000 1.8 *************** *** 74,78 **** char dirstr[255];
! #ifdef NT dir = gensym(""); #else --- 74,78 ---- char dirstr[255];
! #ifdef _WIN32 dir = gensym(""); #else *************** *** 82,86 **** strcpy(dirstr,dir->s_name);
! #ifndef NT strcat(dirstr,"/"); #endif --- 82,86 ---- strcpy(dirstr,dir->s_name);
! #ifndef _WIN32 strcat(dirstr,"/"); #endif *************** *** 177,181 **** char dirstr[255];
! #ifdef NT dir = gensym(""); #else --- 177,181 ---- char dirstr[255];
! #ifdef _WIN32 dir = gensym(""); #else *************** *** 185,189 **** strcpy(dirstr,dir->s_name);
! #ifndef NT strcat(dirstr,"/"); #endif --- 185,189 ---- strcpy(dirstr,dir->s_name);
! #ifndef _WIN32 strcat(dirstr,"/"); #endif
Index: w_envgen.h =================================================================== RCS file: /cvsroot/pure-data/externals/ggee/gui/w_envgen.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** w_envgen.h 8 Feb 2005 09:28:44 -0000 1.12 --- w_envgen.h 3 Jul 2007 11:04:57 -0000 1.13 *************** *** 2,6 **** #include <string.h> #include <math.h> ! #ifdef NT #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) --- 2,6 ---- #include <string.h> #include <math.h> ! #ifdef _WIN32 #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 )