"Fossies" - the Fresh Open Source Software Archive

Member "meson-0.52.1/test cases/common/49 subproject subproject/subprojects/a/a.c" (28 Nov 2019, 350 Bytes) of package /linux/privat/meson-0.52.1.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 int func2();
    3 #if defined _WIN32 || defined __CYGWIN__
    4   #define DLL_PUBLIC __declspec(dllexport)
    5 #else
    6   #if defined __GNUC__
    7     #define DLL_PUBLIC __attribute__ ((visibility("default")))
    8   #else
    9     #pragma message ("Compiler does not support symbol visibility.")
   10     #define DLL_PUBLIC
   11   #endif
   12 #endif
   14 int DLL_PUBLIC func() { return func2(); }