File: LibConfig.h

package info (click to toggle)
juffed 0.10-89-g3690b60-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,160 kB
  • sloc: cpp: 21,060; ansic: 446; xml: 329; sh: 68; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

// For some freaking reason neither of Q_OS_WIN32 or Q_WS_WIN worked here
// for me so I had to introduce an extra "__SPECIAL_WINDOWS_DEFINE__" 
// that is set in CMakeLists.txt for Windows only.
// We don't need those defines for *nix systems so it's just empty for them.

//#ifdef Q_WS_WIN
//#ifdef Q_OS_WIN32

#ifdef __SPECIAL_WINDOWS_DEFINE__

	#ifdef juff_EXPORTS
		#define LIBJUFF_EXPORT Q_DECL_EXPORT
	#else
		#define LIBJUFF_EXPORT Q_DECL_IMPORT
	#endif

#else

	#define LIBJUFF_EXPORT

#endif