1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-21 14:54:14 +01:00

Revert "Branch fixes."

This reverts commit e7d277e45b4926a161e3fc8d85c1519682034f10.
This commit is contained in:
Nicholas Hastings 2014-09-11 19:24:20 -04:00
parent b5b0114d70
commit b5a6377c6c
2 changed files with 2 additions and 6 deletions

View File

@ -94,11 +94,7 @@ bool GetFileOfAddress(void *pAddr, char *buffer, size_t maxlength)
return true;
}
#if defined __linux__ || defined __APPLE__
extern "C" void __cxa_pure_virtual(void)
{
}
#if defined __GNUC__ && (__GNUC__ == 3 || __GNUC__ == 4)
void * operator new(size_t size) {
return malloc(size);
}

View File

@ -50,7 +50,7 @@ def output_version_header():
count, shorthash, longhash = get_git_version()
with open(os.path.join(SourceFolder, 'product.version')) as fp:
contents = fp.read().strip()
contents = fp.read()
m = re.match('(\d+)\.(\d+)\.(\d+)-?(.*)', contents)
if m == None:
raise Exception('Could not detremine product version')