manage headers
This commit is contained in:
parent
da98e8fde3
commit
512f0a959b
|
|
@ -36,8 +36,8 @@
|
|||
#include "stream/textstream.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <ctime>
|
||||
#include <cerrno>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <direct.h>
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
#include "bytebool.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <utility>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
$Id: mdfour.c 7689 2007-11-12 14:28:40Z divverent $
|
||||
*/
|
||||
|
||||
#include <string.h> /* XoXus: needed for memset call */
|
||||
#include <cstring> /* XoXus: needed for memset call */
|
||||
#include <cstdint>
|
||||
|
||||
struct mdfour {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
|
||||
#include "cmdlib.h"
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <cctype>
|
||||
|
||||
inline bool strEmpty( const char* string ){
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#include "scriplib.h"
|
||||
#include "vfs.h"
|
||||
#include <list>
|
||||
#include <errno.h>
|
||||
#include <cerrno>
|
||||
|
||||
/*
|
||||
=============================================================================
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@
|
|||
#if defined ( __linux__ ) || defined ( __APPLE__ )
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
|
||||
|
|
@ -54,8 +53,8 @@
|
|||
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <sys/stat.h>
|
||||
#include <glib.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,12 @@
|
|||
/* dependencies */
|
||||
#include "q3map2.h"
|
||||
|
||||
/* platform-specific */
|
||||
#if defined( __linux__ ) || defined( __APPLE__ )
|
||||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
#define Q_UNIX
|
||||
#endif
|
||||
|
||||
/*
|
||||
some of this code is based off the original q3map port from loki
|
||||
|
|
|
|||
|
|
@ -45,21 +45,6 @@
|
|||
|
||||
------------------------------------------------------------------------------- */
|
||||
|
||||
/* platform-specific */
|
||||
#if defined( __linux__ ) || defined( __APPLE__ )
|
||||
#define Q_UNIX
|
||||
#endif
|
||||
|
||||
#ifdef Q_UNIX
|
||||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
/* general */
|
||||
#include "version.h" /* ttimo: might want to guard that if built outside of the GtkRadiant tree */
|
||||
|
|
@ -84,8 +69,8 @@
|
|||
#include <forward_list>
|
||||
#include "qmath.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "maxworld.h"
|
||||
#include "games.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user