Skip to content
Snippets Groups Projects
Commit 8924ea29 authored by Shon Ferguson's avatar Shon Ferguson
Browse files

Forgot to add dll_export.h when I was experimenting with compiling a DLL.

parent 41a60f1e
No related branches found
No related tags found
No related merge requests found
/* Copyright (c) 2006, NIF File Format Library and Tools
All rights reserved. Please see niflib.h for licence. */
#ifndef _DLL_EXPORT_H_
#define _DLL_EXPORT_H_
#ifdef USE_NIFLIB_DLL
#ifdef _MSC_VER
#ifdef BUILDING_NIFLIB_DLL
#define NIFLIB_API __declspec(dllexport)
#else
#define NIFLIB_API __declspec(dllimport)
#endif
#define NIFLIB_HIDDEN
#else
#ifdef HAVE_GCCVISIBILITYPATCH
#define NIFLIB_API __attribute__ ((visibility("default")))
#define NIFLIB_HIDDEN __attribute__ ((visibility("hidden")))
#else
#define NIFLIB_API
#define NIFLIB_HIDDEN
#endif
#endif
#else
#define NIFLIB_API
#define NIFLIB_HIDDEN
#endif
#endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment