File: jmorecfg.h.diff

package info (click to toggle)
libtk-img 1%3A1.4.2%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 39,024 kB
  • ctags: 26,467
  • sloc: ansic: 160,912; sh: 31,915; makefile: 12,718; tcl: 6,840; asm: 3,355; cpp: 1,736; ada: 1,681; pascal: 1,138; cs: 879; perl: 104; xml: 95
file content (31 lines) | stat: -rw-r--r-- 808 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
*** jmorecfg.h.orig	Fri Jan 15 22:02:11 1999
--- jmorecfg.h	Fri Jan 15 22:02:10 1999
***************
*** 187,193 ****
--- 187,210 ----
  /* a function referenced thru EXTERNs: */
  #define GLOBAL(type)		type
  /* a reference to a GLOBAL function: */
+ 
+ /* Compile with -DJPEG_DLL for Windows DLL support */
+ #if defined(__WIN32__) && defined(JPEG_DLL)
+ #  define WIN32_LEAN_AND_MEAN
+ #  include <windows.h>
+ #  undef WIN32_LEAN_AND_MEAN
+ #  if defined(_MSC_VER)
+ #    define EXTERN(type) extern __declspec(dllexport) type
+ #  else
+ #    if defined(__BORLANDC__)
+ #	define EXTERN(type) extern type _export
+ #    endif
+ #  endif
+ #endif
+ 
+ #if !defined(EXTERN)
  #define EXTERN(type)		extern type
+ #endif
  
  
  /* This macro is used to declare a "method", that is, a function pointer.