summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makethird b/Makethird
index ad480111..cfd1dfe2 100644
--- a/Makethird
+++ b/Makethird
@@ -404,9 +404,9 @@ OPENJPEG_OBJ := $(addprefix $(OPENJPEG_OUT)/, $(OPENJPEG_SRC:%.c=%.o))
$(OPENJPEG_OUT):
$(MKDIR_CMD)
$(OPENJPEG_OUT)/%.o: $(OPENJPEG_DIR)/%.c | $(OPENJPEG_OUT)
- $(CC_CMD) -DOPJ_STATIC -DOPJ_HAVE_STDINT_H
+ $(CC_CMD) -DOPJ_STATIC -DOPJ_HAVE_STDINT_H -DOPJ_HAVE_INTTYPES_H -DUSE_JPIP
-OPENJPEG_CFLAGS += -I$(OPENJPEG_DIR) -DOPJ_HAVE_INTTYPES_H=1 -DUSE_JPIP=1
+OPENJPEG_CFLAGS += -I$(OPENJPEG_DIR)
else
OPENJPEG_CFLAGS := $(SYS_OPENJPEG_CFLAGS)
OPENJPEG_LIBS := $(SYS_OPENJPEG_LIBS)