don't declare image loading operations if not enabled (issue #714)

This commit is contained in:
Alex Shinn 2020-11-25 23:16:12 +09:00
parent f9c00e0c21
commit 56a31f9cb0

View file

@ -7,6 +7,8 @@
#include "chibi/sexp.h" #include "chibi/sexp.h"
#if SEXP_USE_IMAGE_LOADING
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -98,4 +100,6 @@ SEXP_API char* sexp_load_image_err();
} }
#endif #endif
#endif /* SEXP_USE_IMAGE_LOADING */
#endif /* ! SEXP_GC_HEAP_H */ #endif /* ! SEXP_GC_HEAP_H */