Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
ffd7386d
Commit
ffd7386d
authored
Feb 03, 2015
by
Davis King
Browse files
Made libjpeg always use C linking so there are not incompatibilities with
other libjpeg header files.
parent
27052293
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dlib/external/libjpeg/jmorecfg.h
dlib/external/libjpeg/jmorecfg.h
+4
-0
No files found.
dlib/external/libjpeg/jmorecfg.h
View file @
ffd7386d
...
@@ -172,7 +172,11 @@ typedef unsigned int JDIMENSION;
...
@@ -172,7 +172,11 @@ typedef unsigned int JDIMENSION;
/* a function referenced thru EXTERNs: */
/* a function referenced thru EXTERNs: */
#define GLOBAL(type) type
#define GLOBAL(type) type
/* a reference to a GLOBAL function: */
/* a reference to a GLOBAL function: */
#ifdef __cplusplus
#define EXTERN(type) extern "C" type
#else
#define EXTERN(type) extern type
#define EXTERN(type) extern type
#endif
/* This macro is used to declare a "method", that is, a function pointer.
/* This macro is used to declare a "method", that is, a function pointer.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment