"Fossies" - the Fresh Open Source Software Archive

Member "meson-0.52.1/test cases/unit/17 prebuilt shared/alexandria.h" (31 Oct 2018, 463 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 #pragma once
    2 
    3 /* Both funcs here for simplicity. */
    4 
    5 #if defined _WIN32 || defined __CYGWIN__
    6 #if defined BUILDING_DLL
    7   #define DLL_PUBLIC __declspec(dllexport)
    8 #else
    9   #define DLL_PUBLIC __declspec(dllimport)
   10 #endif
   11 #else
   12   #if defined __GNUC__
   13     #define DLL_PUBLIC __attribute__ ((visibility("default")))
   14   #else
   15     #pragma message ("Compiler does not support symbol visibility.")
   16     #define DLL_PUBLIC
   17   #endif
   18 #endif
   19 
   20 void DLL_PUBLIC alexandria_visit();