mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
17 lines
420 B
C++
17 lines
420 B
C++
#pragma once
|
|
#include <vector>
|
|
#include <iostream>
|
|
#include "int3.h"
|
|
#include "CGameInterface.h"
|
|
|
|
#define AI_INTERFACE_VER 1
|
|
#ifdef _WIN32
|
|
#define DLL_EXPORT extern "C" __declspec(dllexport)
|
|
#define VCMI_API
|
|
#elif __GNUC__ >= 4
|
|
#define DLL_EXPORT extern "C" __attribute__ ((visibility("default")))
|
|
#define VCMI_API __attribute__ ((visibility("default")))
|
|
#else
|
|
#define VCMI_EXPORT extern "C"
|
|
#endif
|