File: libconfig.h

package info (click to toggle)
pygccxml 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,444 kB
  • sloc: xml: 29,841; python: 13,914; cpp: 2,671; makefile: 163; ansic: 59
file content (15 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#if defined _WIN32 || defined __CYGWIN__
    #define IMPORT_SYMBOL __declspec(dllimport)
    #define EXPORT_SYMBOL __declspec(dllexport)
    #define PRIVATE_SYMBOL
#else
    #if __GNUC__ >= 4
        #define IMPORT_SYMBOL __attribute__ ((visibility("default")))
        #define EXPORT_SYMBOL __attribute__ ((visibility("default")))
        #define PRIVATE_SYMBOL  __attribute__ ((visibility("hidden")))
    #else
        #define IMPORT_SYMBOL
        #define EXPORT_SYMBOL
        #define PRIVATE_SYMBOL
  #endif
#endif