paragui-cvs
[Top][All Lists]
Advanced

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

[paragui-cvs] CVS: paragui/include paraconfig.h,1.3,1.3.6.1 paraconfig_w


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/include paraconfig.h,1.3,1.3.6.1 paraconfig_win32.h,1.1.1.1,1.1.1.1.6.1 pgmessageobject.h,1.3,1.3.6.1
Date: Thu, 02 May 2002 04:45:40 -0400

Update of /cvsroot/paragui/paragui/include
In directory subversions:/tmp/cvs-serv32451/include

Modified Files:
      Tag: devel-1-0
        paraconfig.h paraconfig_win32.h pgmessageobject.h 
Log Message:
removed unneccessary mutex locks
added check for strdup
added replacement if strdup is unavailable
fixed deletion of listboxitems within the message handler



Index: paraconfig.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/paraconfig.h,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -C2 -r1.3 -r1.3.6.1
*** paraconfig.h        15 Apr 2002 13:35:35 -0000      1.3
--- paraconfig.h        2 May 2002 08:45:35 -0000       1.3.6.1
***************
*** 100,102 ****
--- 100,111 ----
  #endif
  
+ //
+ // Replacement for strdup
+ //
+ #ifndef HAVE_STRDUP
+ extern "C" {
+ char* strdup(char* s);
+ }
+ #endif
+ 
  #endif // CONFIG_INCLUDED

Index: paraconfig_win32.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/paraconfig_win32.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.6.1
diff -C2 -r1.1.1.1 -r1.1.1.1.6.1
*** paraconfig_win32.h  15 Apr 2002 13:22:31 -0000      1.1.1.1
--- paraconfig_win32.h  2 May 2002 08:45:36 -0000       1.1.1.1.6.1
***************
*** 18,21 ****
--- 18,27 ----
  #define PARAGUI_THEMEDIR "./data"
  
+ /* Define if you have the strdup function.  */
+ #define HAVE_STRDUP 1
+ 
+ /* Define if you have the strtok function.  */
+ #define HAVE_STRTOK 1
+ 
  /* Define if you have the vsnprintf function.  */
  /* #undef HAVE_VSNPRINTF */

Index: pgmessageobject.h
===================================================================
RCS file: /cvsroot/paragui/paragui/include/pgmessageobject.h,v
retrieving revision 1.3
retrieving revision 1.3.6.1
diff -C2 -r1.3 -r1.3.6.1
*** pgmessageobject.h   15 Apr 2002 13:35:35 -0000      1.3
--- pgmessageobject.h   2 May 2002 08:45:36 -0000       1.3.6.1
***************
*** 308,312 ****
        static PG_MessageObject* captureObject;
  
!       // mutexes
        SDL_mutex* my_mutexSendMessage;
        SDL_mutex* my_mutexReceiveMessage;
--- 308,312 ----
        static PG_MessageObject* captureObject;
  
!       // mutexes -- unused, but still here to keep binary compatibility
        SDL_mutex* my_mutexSendMessage;
        SDL_mutex* my_mutexReceiveMessage;




reply via email to

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