Last change
on this file since 632 was
553,
checked in by rgrieder, 17 years ago
|
- some minor change in static initialisation of factory
(this concept could be adopted to the other singletons in the factory as well)
|
File size:
1.2 KB
|
Rev | Line | |
---|
[379] | 1 | /* |
---|
| 2 | * ORXONOX - the hottest 3D action shooter ever to exist |
---|
| 3 | * |
---|
| 4 | * |
---|
| 5 | * License notice: |
---|
| 6 | * |
---|
| 7 | * This program is free software: you can redistribute it and/or modify |
---|
| 8 | * it under the terms of the GNU General Public License as published by |
---|
| 9 | * the Free Software Foundation, either version 3 of the License, or |
---|
| 10 | * (at your option) any later version. |
---|
| 11 | * |
---|
| 12 | * This program is distributed in the hope that it will be useful, |
---|
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 15 | * GNU General Public License for more details. |
---|
| 16 | * |
---|
| 17 | * You should have received a copy of the GNU General Public License |
---|
| 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
| 19 | * |
---|
| 20 | * |
---|
| 21 | * Author: |
---|
| 22 | * Reto Grieder |
---|
| 23 | * Co-authors: |
---|
| 24 | * ... |
---|
| 25 | * |
---|
| 26 | */ |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | #ifndef LOADER_PLATFORM_H |
---|
| 30 | #define LOADER_PLATFORM_H |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | #if defined( __WIN32__ ) || defined( _WIN32 ) |
---|
| 34 | #ifdef LOADER_BUILD |
---|
| 35 | #define _LoaderExport __declspec( dllexport ) |
---|
[553] | 36 | #elif defined(LOADER_STATIC) |
---|
| 37 | #define _LoaderExport |
---|
[379] | 38 | #else |
---|
| 39 | #define _LoaderExport __declspec( dllimport ) |
---|
| 40 | #endif |
---|
| 41 | #else |
---|
| 42 | #define _LoaderExport |
---|
| 43 | #endif |
---|
| 44 | |
---|
| 45 | |
---|
[382] | 46 | #endif /* LOADER_PLATFORM_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.