/*
- Copyright (C) 1999-2006 Id Software, Inc. and contributors.
+ Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
#ifndef __CMDLIB__
#define __CMDLIB__
+#include "globaldefs.h"
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <stdarg.h>
-#ifdef WIN32
+#if GDEF_COMPILER_MSVC
#ifdef NDEBUG // Don't show in a Release build
#pragma warning(disable : 4305) // truncate from double to float
#pragma warning(disable : 4244) // conversion from double to float
#endif
#endif
-#ifdef WIN32
+#if GDEF_COMPILER_MSVC
#pragma intrinsic( memset, memcpy )
#endif