mirror of
https://github.com/cwbaker/lalr.git
synced 2026-09-26 16:33:18 +03:00
17 lines
514 B
C++
17 lines
514 B
C++
//
|
|
// declspec.hpp
|
|
// Copyright (c) 2001 - 2012 Charles Baker. All rights reserved.
|
|
//
|
|
|
|
#ifndef SWEET_ERROR_DECLSPEC_HPP_INCLUDED
|
|
#define SWEET_ERROR_DECLSPEC_HPP_INCLUDED
|
|
|
|
#if defined(BUILD_OS_WINDOWS) && defined(BUILD_MODULE_ERROR) && defined(BUILD_LIBRARY_TYPE_DYNAMIC)
|
|
#define SWEET_ERROR_DECLSPEC __declspec(dllexport)
|
|
#elif defined(BUILD_OS_WINDOWS) && defined(BUILD_LIBRARY_TYPE_DYNAMIC)
|
|
#define SWEET_ERROR_DECLSPEC __declspec(dllimport)
|
|
#else
|
|
#define SWEET_ERROR_DECLSPEC
|
|
#endif
|
|
|
|
#endif
|