]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
added R_TextureHasAlpha function to check if a loaded texture has alpha
[xonotic/darkplaces.git] / common.h
index c772fef8ee1acce7020575ad1903098f66bd3db0..98467fd3236745027bc53fca790f36563512321f 100644 (file)
--- a/common.h
+++ b/common.h
@@ -32,7 +32,7 @@ typedef enum {false, true}    qboolean;
 #include "quakeio.h"
 
 // LordHavoc: MSVC has a different name for snprintf
-#ifndef snprintf
+#ifdef WIN32
 #define snprintf _snprintf
 #endif