]> git.cworth.org Git - apitrace/blobdiff - formatter.hpp
Add a state tab that list uniforms.
[apitrace] / formatter.hpp
index 3c9db3ca25a89e318424c438257e2c490d2bdf2c..040d06d49084feafa191c8232ad708dea3d1e3bb 100644 (file)
  *
  **************************************************************************/
 
+/*
+ * Helpers for coloring output.
+ */
+
 #ifndef _FORMATTER_HPP_
 #define _FORMATTER_HPP_
 
@@ -101,7 +105,7 @@ inline std::ostream& operator<<(std::ostream& os, const Attribute *attr) {
 }
 
 
-#ifdef WIN32
+#ifdef _WIN32
 
 #include <windows.h>
 
@@ -152,7 +156,7 @@ public:
 
 
 inline Formatter *defaultFormatter(void) {
-#ifdef WIN32
+#ifdef _WIN32
     return new WindowsFormatter;
 #else
     return new AnsiFormatter;