diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2005-09-22 07:01:29 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2005-09-22 07:01:29 +0000 |
commit | 2353e6967fc29819bcac829aab4fa8035cefafa8 (patch) | |
tree | df4f85109f031101043385786a4be126547c9de3 /graphics/jpeg/files | |
parent | ac9464e934ae44796164f5b0690e0695714c6371 (diff) | |
download | ports-2353e6967fc29819bcac829aab4fa8035cefafa8.tar.gz ports-2353e6967fc29819bcac829aab4fa8035cefafa8.zip |
Notes
Diffstat (limited to 'graphics/jpeg/files')
-rw-r--r-- | graphics/jpeg/files/patch-jmorecfg.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/jpeg/files/patch-jmorecfg.h b/graphics/jpeg/files/patch-jmorecfg.h new file mode 100644 index 000000000000..2d5f214eaf5f --- /dev/null +++ b/graphics/jpeg/files/patch-jmorecfg.h @@ -0,0 +1,15 @@ +--- jmorecfg.h.orig Sun Sep 18 14:53:48 2005 ++++ jmorecfg.h Sun Sep 18 14:54:27 2005 +@@ -187,8 +187,11 @@ + /* a function referenced thru EXTERNs: */ + #define GLOBAL(type) type + /* a reference to a GLOBAL function: */ ++#ifdef __cplusplus ++#define EXTERN(type) extern "C" type ++#else + #define EXTERN(type) extern type +- ++#endif + + /* This macro is used to declare a "method", that is, a function pointer. + * We want to supply prototype parameters if the compiler can cope. |