GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
gennExport.h
Go to the documentation of this file.
1 #pragma once
2 
3 // If we're building on Windows and SWIG isn't defined (amusingly, __declspec breaks SWIG's parser)
4 #if defined(_WIN32) && !defined(SWIG)
5  #ifdef BUILDING_GENN_DLL
6  #define GENN_EXPORT __declspec(dllexport)
7  #elif defined(LINKING_GENN_DLL)
8  #define GENN_EXPORT __declspec(dllimport)
9  #else
10  #define GENN_EXPORT
11  #endif
12 #else
13  #define GENN_EXPORT
14 #endif