mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
Fix compilation on windows
This commit is contained in:
12
data/font.h
12
data/font.h
@@ -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
|
||||
|
Reference in New Issue
Block a user