Some cleanups for PocketPC port.

This commit is contained in:
Ryan C. Gordon 2002-11-22 06:24:10 +00:00
parent 83e2f1dfd9
commit 9d82110b57
13 changed files with 9 additions and 20 deletions

View File

@ -13,8 +13,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__

View File

@ -33,9 +33,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <assert.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__

View File

@ -16,9 +16,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <assert.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__

View File

@ -16,10 +16,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <time.h>
#include <errno.h>
#include <time.h>
#include "physfs.h"
#include "zlib.h"

View File

@ -436,7 +436,7 @@ fi
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h])
AC_CHECK_HEADERS([stdlib.h string.h assert.h])
# Checks for typedefs, structures, and compiler characteristics.
dnl AC_C_CONST

View File

@ -7,7 +7,7 @@ rem Patches go to icculus@clutteredmind.org ...
set PHYSFSLANG=PHYSFS_LANG_ENGLISH
set DEBUGFLAGS=-D_NDEBUG -O2 -s
set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_LANG=%PHYSFSLANG%
set CFLAGS=%DEBUGFLAGS% -Wall -Werror -Zomf -Zmt -Zmtd -I. -Izlib114 -c -D__ST_MT_ERRNO__ -DOS2 -DPHYSFS_SUPPORTS_ZIP -DPHYSFS_SUPPORTS_GRP -DPHYSFS_SUPPORTS_QPAK -DPHYSFS_LANG=%PHYSFSLANG% -DHAVE_ASSERT_H=1
@echo on
mkdir bin

View File

@ -20,8 +20,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include "physfs.h"
#define __PHYSICSFS_INTERNAL__

View File

@ -14,7 +14,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"

View File

@ -16,6 +16,12 @@
#include "physfs.h"
#ifdef HAVE_ASSERT_H
#include <assert.h>
#else
#define assert(x)
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -26,7 +26,6 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <unistd.h>
#define __PHYSICSFS_INTERNAL__

View File

@ -26,7 +26,6 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
#include <time.h>
#include <ctype.h>

View File

@ -43,7 +43,6 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <assert.h>
#ifdef PHYSFS_HAVE_LLSEEK
#include <linux/unistd.h>

View File

@ -19,7 +19,6 @@
#include <errno.h>
#include <ctype.h>
#include <time.h>
#include <assert.h>
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"