uio cleanups, documentation
path fixes, improvements Fixes bugs 738, 907 git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2641 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+20
-12
@@ -19,6 +19,26 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
// Compilation related
|
||||
#ifdef _MSC_VER
|
||||
# define inline __inline
|
||||
#else
|
||||
# define inline __inline__
|
||||
# ifdef __MINGW32__
|
||||
// For when including Microsoft Windows header files.
|
||||
# define _inline inline
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Compilation warnings:
|
||||
// UQM uses a lot of functions that can be used unsafely, but it uses them
|
||||
// in a safe way. The warnings about these functions however may drown out
|
||||
// serious warnings, so we turn them off.
|
||||
#ifdef _MSC_VER
|
||||
# define _CRT_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <io.h>
|
||||
#else
|
||||
@@ -40,18 +60,6 @@ char *strupr (char *str);
|
||||
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
|
||||
#endif
|
||||
|
||||
|
||||
// Compilation related
|
||||
#ifdef _MSC_VER
|
||||
# define inline __inline
|
||||
#else
|
||||
# define inline __inline__
|
||||
# ifdef __MINGW32__
|
||||
// For when including Microsoft Windows header files.
|
||||
# define _inline inline
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Directories
|
||||
#ifdef WIN32
|
||||
# include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user