[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/physfs/platform unix.c,1.1.1.1.6.4,1.1.1.
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/physfs/platform unix.c,1.1.1.1.6.4,1.1.1.1.6.5 |
Date: |
Thu, 18 Jul 2002 03:24:16 -0400 |
Update of /cvsroot/paragui/paragui/src/physfs/platform
In directory subversions:/tmp/cvs-serv18761/src/physfs/platform
Modified Files:
Tag: devel-1-0
unix.c
Log Message:
fixed a potential crash in PG_FileArchive::LoadSurface
updated PhysFS
Index: unix.c
===================================================================
RCS file: /cvsroot/paragui/paragui/src/physfs/platform/unix.c,v
retrieving revision 1.1.1.1.6.4
retrieving revision 1.1.1.1.6.5
diff -C2 -r1.1.1.1.6.4 -r1.1.1.1.6.5
*** unix.c 11 Jul 2002 08:59:29 -0000 1.1.1.1.6.4
--- unix.c 18 Jul 2002 07:24:14 -0000 1.1.1.1.6.5
***************
*** 14,20 ****
#if ((!defined __BEOS__) && (!defined WIN32))
#if ((defined __APPLE__) && (defined __MACH__))
! # if (!defined __DARWIN__)
! # define __DARWIN__
# endif
#endif
--- 14,26 ----
#if ((!defined __BEOS__) && (!defined WIN32))
+ #ifdef __FreeBSD__
+ # if (!defined __BSD__)
+ # define __BSD__
+ # endif
+ #endif
+
#if ((defined __APPLE__) && (defined __MACH__))
! # if (!defined __BSD__)
! # define __BSD__
# endif
#endif
***************
*** 34,41 ****
#include <errno.h>
! #if (!defined __DARWIN__)
! #include <mntent.h>
! #else
#include <sys/ucred.h>
#endif
--- 40,47 ----
#include <errno.h>
! #if (defined __BSD__)
#include <sys/ucred.h>
+ #else
+ #include <mntent.h>
#endif
***************
*** 63,67 ****
! #if (defined __DARWIN__)
char **__PHYSFS_platformDetectAvailableCDs(void)
--- 69,73 ----
! #if (defined __BSD__)
char **__PHYSFS_platformDetectAvailableCDs(void)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/physfs/platform unix.c,1.1.1.1.6.4,1.1.1.1.6.5,
Alexander Pipelka <address@hidden> <=