mirror of
https://github.com/libretro/FBNeo.git
synced 2024-11-27 02:50:29 +00:00
Add a makefile INCLUDE_LIB_PNGH to allow not including png.h in burner.h
This commit is contained in:
parent
5c64b2cc0d
commit
ad0075c160
3
makefile
3
makefile
@ -54,6 +54,9 @@ PERL = 1
|
||||
# Endianness
|
||||
LSB_FIRST = 1
|
||||
|
||||
# Include png.h from burner.h
|
||||
INCLUDE_LIB_PNGH = 1
|
||||
|
||||
|
||||
#
|
||||
# execute an appropriate system-specific makefile
|
||||
|
@ -282,6 +282,10 @@ ifdef LSB_FIRST
|
||||
DEF := $(DEF) -DLSB_FIRST
|
||||
endif
|
||||
|
||||
ifdef INCLUDE_LIB_PNGH
|
||||
DEF := $(DEF) -DINCLUDE_LIB_PNGH
|
||||
endif
|
||||
|
||||
ifdef BUILD_A68K
|
||||
DEF := $(DEF) -DBUILD_A68K
|
||||
endif
|
||||
|
@ -196,6 +196,10 @@ ifdef LSB_FIRST
|
||||
DEF := $(DEF) /DLSB_FIRST
|
||||
endif
|
||||
|
||||
ifdef INCLUDE_LIB_PNGH
|
||||
DEF := $(DEF) /DINCLUDE_LIB_PNGH
|
||||
endif
|
||||
|
||||
ifdef BUILD_A68K
|
||||
DEF := $(DEF) /DBUILD_A68K
|
||||
endif
|
||||
|
@ -42,7 +42,9 @@ typedef struct tagIMAGE {
|
||||
#include "burner_xbox.h"
|
||||
#endif
|
||||
|
||||
#if defined (INCLUDE_LIB_PNGH)
|
||||
#include "png.h"
|
||||
#endif
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// OS independent functionality
|
||||
|
Loading…
Reference in New Issue
Block a user