mirror of https://github.com/OpenRCT2/OpenRCT2.git
Refactor MAX_PATH to be in common.h
This commit is contained in:
parent
34e27a2408
commit
64f2778c10
|
@ -94,6 +94,7 @@ The following people are not part of the project team, but have been contributin
|
|||
* Christian Friedrich Coors (ccoors)
|
||||
* Robbin Voortman (rvoortman)
|
||||
* (telk5093)
|
||||
* Ethan Smith (ethanhs) - Refactoring.
|
||||
|
||||
## Toolchain
|
||||
* (Balletie) - macOS
|
||||
|
|
|
@ -19,11 +19,6 @@
|
|||
#include "common.h"
|
||||
#include "core/Guard.hpp"
|
||||
|
||||
// Defining MAX_PATH temporarily until the paths below can be removed
|
||||
// Saves us from importing system headers in a header file.
|
||||
#ifndef MAX_PATH
|
||||
#define MAX_PATH 260
|
||||
#endif
|
||||
|
||||
#ifndef DISABLE_NETWORK
|
||||
#include <openssl/evp.h>
|
||||
|
|
|
@ -54,6 +54,12 @@ typedef wchar_t utf16;
|
|||
typedef utf16* utf16string;
|
||||
#endif
|
||||
|
||||
// Defining MAX_PATH temporarily until the paths below can be removed
|
||||
// Saves us from importing system headers in a header file.
|
||||
#ifndef MAX_PATH
|
||||
#define MAX_PATH 260
|
||||
#endif
|
||||
|
||||
typedef uint32 codepoint_t;
|
||||
typedef uint8 colour_t;
|
||||
|
||||
|
|
|
@ -18,10 +18,6 @@
|
|||
|
||||
#include "../common.h"
|
||||
|
||||
#ifndef MAX_PATH
|
||||
#define MAX_PATH 260
|
||||
#endif
|
||||
|
||||
struct rct_object_entry;
|
||||
|
||||
typedef struct scenario_highscore_entry
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
#include "../core/Zip.h"
|
||||
#include "TitleSequence.h"
|
||||
|
||||
#ifndef MAX_PATH
|
||||
#define MAX_PATH 260
|
||||
#endif
|
||||
|
||||
static std::vector<utf8 *> GetSaves(const utf8 * path);
|
||||
static std::vector<utf8 *> GetSaves(IZipArchive * zip);
|
||||
|
|
Loading…
Reference in New Issue