Fix compilation on windows

This commit is contained in:
mniip
2018-05-09 19:05:39 +03:00
parent 32aaafee94
commit 12e79ea111
6 changed files with 13 additions and 14 deletions

View File

@@ -1,11 +1,11 @@
#pragma once
#define FONT_H 12
#ifndef FONTEDITOR
extern unsigned char font_data[];
extern unsigned short font_ptrs[];
extern unsigned int font_ranges[][2];
extern const unsigned char font_data[];
extern const unsigned short font_ptrs[];
extern const unsigned int font_ranges[][2];
#else
extern unsigned char *font_data;
extern unsigned short *font_ptrs;
extern unsigned int (*font_ranges)[2];
extern const unsigned char *font_data;
extern const unsigned short *font_ptrs;
extern const unsigned int (*font_ranges)[2];
#endif