diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 3f96ad348d..dd476134cf 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -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))