Fix compiler warning for FreeBSD

This commit is contained in:
rdb 2009-09-12 19:36:34 +00:00
parent c0695c34a9
commit ab0e4076cf

View File

@ -1398,9 +1398,9 @@ def CreatePandaVersionFiles():
pandaversion_h = pandaversion_h.replace("$DISTRIBUTOR",DISTRIBUTOR)
pandaversion_h = pandaversion_h.replace("$RUNTIME_VERSION",RUNTIME_VERSION)
if (DISTRIBUTOR == "cmu"):
pandaversion_h += "\n#define PANDA_OFFICIAL_VERSION"
pandaversion_h += "\n#define PANDA_OFFICIAL_VERSION\n"
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("$VERSION2",str(version2))