mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[6801] Fixed some compile errors in git_id
This commit is contained in:
parent
5c6a736e1c
commit
7b0cdcdac5
2 changed files with 4 additions and 2 deletions
|
|
@ -4,14 +4,16 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <direct.h>
|
|
||||||
#include "../../src/framework/Platform/CompilerDefs.h"
|
#include "../../src/framework/Platform/CompilerDefs.h"
|
||||||
|
|
||||||
#if PLATFORM == PLATFORM_WINDOWS
|
#if PLATFORM == PLATFORM_WINDOWS
|
||||||
|
#include <direct.h>
|
||||||
#define popen _popen
|
#define popen _popen
|
||||||
#define pclose _pclose
|
#define pclose _pclose
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#pragma warning (disable:4996)
|
#pragma warning (disable:4996)
|
||||||
|
#else
|
||||||
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NUM_REMOTES 2
|
#define NUM_REMOTES 2
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "6800"
|
#define REVISION_NR "6801"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue