]> git.mxchange.org Git - simgear.git/commitdiff
remove redundant #defines (they are already in compiler.h)
authormfranz <mfranz>
Sun, 22 Jun 2008 18:07:50 +0000 (18:07 +0000)
committermfranz <mfranz>
Sun, 22 Jun 2008 18:07:50 +0000 (18:07 +0000)
simgear/debug/logstream.hxx

index a9dafa6d6d323b87e841be3c035c1a4b56e1413e..cb712ae4341a6563585abe49d422d995166d10b7 100644 (file)
@@ -309,9 +309,7 @@ sglog()
 # define SG_LOG(C,P,M) sglog() << loglevel(C,P) << M << std::endl
 #endif
 
-#define SG_STRINGIFY(x) #x
-#define SG_TOSTRING(x) SG_STRINGIFY(x)
-#define SG_ORIGIN __FILE__ ":" SG_TOSTRING(__LINE__)
+#define SG_ORIGIN __FILE__ ":" SG_STRINGIZE(__LINE__)
 
 #endif // _LOGSTREAM_H