summaryrefslogblamecommitdiff
path: root/src/common/hercules.h
blob: 678577690d7fd3030977801d9e46e6e166520878 (plain) (tree)






















                                                               
// 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