/*
- Copyright (C) 1999-2007 id Software, Inc. and contributors.
+ Copyright (C) 1999-2006 Id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifdef WIN32
+#include "globaldefs.h"
+#if GDEF_OS_WINDOWS
#include <io.h>
#endif
#include "q3data.h"
// some old defined that was in cmdlib lost during merge
char writedir[1024];
-#if defined ( __linux__ ) || defined ( __APPLE__ )
+#if GDEF_OS_LINUX || GDEF_OS_MACOS
#define strlwr strlower
#endif
===============
*/
-#ifdef _WIN32
+#if GDEF_OS_WINDOWS
#include "io.h"
void PackDirectory_r( char *dir ){
struct _finddata_t fileinfo;
#else
#include <sys/types.h>
-#ifndef WIN32
+#if !GDEF_OS_WINDOWS
#include <sys/dir.h>
#else
#include <sys/dirent.h>
// using GtkRadiant's versioning next to Id's versioning
printf( "Q3Data - (c) 1999 Id Software Inc.\n" );
- printf( "GtkRadiant - v" RADIANT_VERSION " " __DATE__ "\n" );
+ printf( "NetRadiant - v" RADIANT_VERSION " " __DATE__ "\n" );
ExpandWildcards( &argc, &argv );