[longomatch] Use the same naming for os types defines



commit d65782f9c78685c3444e3c68fe7caaf14bbeea41
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Aug 15 21:09:06 2013 +0200

    Use the same naming for os types defines

 LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs |    2 +-
 configure.ac                                     |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs 
b/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
index deb0370..c630d69 100644
--- a/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
+++ b/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
@@ -130,7 +130,7 @@ namespace LongoMatch.Gui.Component
                        if (full < normal) {
                                full = normal;
                        }
-#if !OS_TYPE_LINUX
+#if !OSTYPE_LINUX
                        normal = (int) (normal * 1.3);
                        full = (int) (full * 1.3);
 #endif
diff --git a/configure.ac b/configure.ac
index e6c80c3..6a2e084 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,16 +94,16 @@ case "$host" in
   *-*-mingw*|*-*-cygwin*)
     ostype=Windows
     AC_DEFINE(OSTYPE_WINDOWS)
-    GMCS_FLAGS="$GMCS_FLAGS -define:OS_TYPE_WINDOWS"
+    GMCS_FLAGS="$GMCS_FLAGS -define:OSTYPE_WINDOWS"
     ;;
   *-*-darwin*)
     AC_DEFINE(OSTYPE_OS_X)
     ostype=OS_X
-    GMCS_FLAGS="$GMCS_FLAGS -define:OS_TYPE_OS_X"
+    GMCS_FLAGS="$GMCS_FLAGS -define:OSTYPE_OS_X"
     ;;
   *-*-linux*)
     AC_DEFINE(OSTYPE_LINUX)
-    GMCS_FLAGS="$GMCS_FLAGS -define:OS_TYPE_OS_LINUX"
+    GMCS_FLAGS="$GMCS_FLAGS -define:OSTYPE_OS_LINUX"
     ostype=Linux
     ;;
 esac



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]