summaryrefslogtreecommitdiff
path: root/src/common/hercules.h
blob: 678577690d7fd3030977801d9e46e6e166520878 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file
// Base author: Haru <haru@dotalux.com>

#ifndef COMMON_HERCULES_H
#define COMMON_HERCULES_H

#include "config/core.h"
#include "common/cbasetypes.h"

#ifdef WIN32
	#define HPExport __declspec(dllexport)
#else
	#define HPExport __attribute__((visibility("default")))
#endif

#define HPShared extern

#ifndef HERCULES_CORE
#include "common/HPMi.h"
#endif // HERCULES_CORE

#endif // COMMON_HERCULES_H