mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 11:12:07 +00:00
Merge pull request #533 from JL2210/platform-fixes
Add platform-specific fixes file (only for MSVC, currently)
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include "asm/asm.h"
|
||||
#include "asm/charmap.h"
|
||||
@@ -34,6 +33,7 @@
|
||||
#include "extern/utf8decoder.h"
|
||||
|
||||
#include "linkdefs.h"
|
||||
#include "platform.h" // strncasecmp, strdup
|
||||
|
||||
uint32_t nListCountEmpty;
|
||||
char *tzNewMacro;
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "asm/fstack.h"
|
||||
#include "asm/lexer.h"
|
||||
@@ -30,6 +29,7 @@
|
||||
|
||||
#include "extern/err.h"
|
||||
|
||||
#include "platform.h" // S_ISDIR (stat macro)
|
||||
#include "types.h"
|
||||
|
||||
static struct sContext *pFileStack;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include "asm/asm.h"
|
||||
#include "asm/fstack.h"
|
||||
@@ -27,6 +26,7 @@
|
||||
#include "extern/err.h"
|
||||
|
||||
#include "asmy.h"
|
||||
#include "platform.h" // strncasecmp, strdup
|
||||
|
||||
struct sLexString {
|
||||
char *tzName;
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "extern/err.h"
|
||||
|
||||
#include "linkdefs.h"
|
||||
#include "platform.h" // strdup
|
||||
|
||||
struct Patch {
|
||||
char tzFilename[_MAX_PATH + 1];
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "asm/warning.h"
|
||||
|
||||
#include "extern/err.h"
|
||||
#include "platform.h" // strdup
|
||||
|
||||
struct SectionStackEntry {
|
||||
struct Section *pSection;
|
||||
|
||||
Reference in New Issue
Block a user