]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/camera/funchandlers.cpp
Centralise compile checks
[xonotic/netradiant.git] / contrib / camera / funchandlers.cpp
index 4134a889eda465366e89e360b87173420e267b3a..f3be8e3bf62183dd5e64820739011b9990fde510 100644 (file)
  */
 
 #include "camera.h"
+#include "globaldefs.h"
 
 extern GtkWidget *g_pEditModeAddRadioButton;
 
 char* Q_realpath( const char *path, char *resolved_path, size_t size ){
-#if defined( POSIX )
+#if GDEF_OS_POSIX
        return realpath( path, resolved_path );
-#elif defined( WIN32 )
+#elif GDEF_OS_WINDOWS
        return _fullpath( resolved_path, path, size );
 #else
 #error "unsupported platform"