Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
Set libjpeg complier flags
Browse files Browse the repository at this point in the history
  • Loading branch information
rmtheis committed Mar 10, 2016
1 parent 878f57b commit a0e3b5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions tess-two/jni/libjpeg/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,9 @@ LOCAL_SRC_FILES := \
jmemmgr.c \
jmemname.c

LOCAL_CFLAGS := \
-include stdlib.h \
-Wno-pointer-sign \
-Wno-implicit-function-declaration

include $(BUILD_SHARED_LIBRARY)
2 changes: 0 additions & 2 deletions tess-two/jni/libjpeg/jerror.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
* These routines are used by both the compression and decompression code.
*/

#include <stdlib.h>

#ifdef USE_WINDOWS_MESSAGEBOX
#include <windows.h>
#endif
Expand Down

0 comments on commit a0e3b5e

Please sign in to comment.