Browse Source

Fix compiler warning for FreeBSD

rdb 16 years ago
parent
commit
ab0e4076cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      makepanda/makepanda.py

+ 2 - 2
makepanda/makepanda.py

@@ -1398,9 +1398,9 @@ def CreatePandaVersionFiles():
     pandaversion_h = pandaversion_h.replace("$DISTRIBUTOR",DISTRIBUTOR)
     pandaversion_h = pandaversion_h.replace("$DISTRIBUTOR",DISTRIBUTOR)
     pandaversion_h = pandaversion_h.replace("$RUNTIME_VERSION",RUNTIME_VERSION)
     pandaversion_h = pandaversion_h.replace("$RUNTIME_VERSION",RUNTIME_VERSION)
     if (DISTRIBUTOR == "cmu"):
     if (DISTRIBUTOR == "cmu"):
-        pandaversion_h += "\n#define PANDA_OFFICIAL_VERSION"
+        pandaversion_h += "\n#define PANDA_OFFICIAL_VERSION\n"
     else:
     else:
-        pandaversion_h += "\n#undef  PANDA_OFFICIAL_VERSION"
+        pandaversion_h += "\n#undef  PANDA_OFFICIAL_VERSION\n"
     
     
     checkpandaversion_cxx = CHECKPANDAVERSION_CXX.replace("$VERSION1",str(version1))
     checkpandaversion_cxx = CHECKPANDAVERSION_CXX.replace("$VERSION1",str(version1))
     checkpandaversion_cxx = checkpandaversion_cxx.replace("$VERSION2",str(version2))
     checkpandaversion_cxx = checkpandaversion_cxx.replace("$VERSION2",str(version2))