GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
backendExport.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_BACKEND_DLL
6  #define BACKEND_EXPORT __declspec(dllexport)
7  #elif defined(LINKING_BACKEND_DLL)
8  #define BACKEND_EXPORT __declspec(dllimport)
9  #else
10  #define BACKEND_EXPORT
11  #endif
12 #else
13  #define BACKEND_EXPORT
14 #endif