Blender V2.61 - r43446
|
00001 00004 /* Copyright (c) 1999, Not a Number / NeoGeo b.v. 00005 * 00006 * All rights reserved. 00007 * 00008 * Contact: info@blender.org 00009 * Information: http://www.blender.org 00010 * 00011 * Redistribution and use in source and binary forms, with or without 00012 * modification, are permitted provided that the following conditions 00013 * are met: 00014 * 1. Redistributions of source code must retain the above copyright 00015 * notice, this list of conditions and the following disclaimer. 00016 * 2. Redistributions in binary form must reproduce the above copyright 00017 * notice, this list of conditions and the following disclaimer in the 00018 * documentation and/or other materials provided with the distribution. 00019 * 00020 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 00021 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00022 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00023 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 00024 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00025 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 00026 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00027 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00028 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 00029 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00030 * SUCH DAMAGE. 00031 */ 00032 00033 #ifndef _EXTERNDEF_H 00034 #define _EXTERNDEF_H 00035 00036 #ifdef WIN32 00037 #ifdef PLUGIN_INTERN 00038 #define LIBEXPORT __declspec(dllexport) 00039 #define LIBIMPORT __declspec(dllexport) 00040 #else 00041 #define LIBEXPORT __declspec(dllexport) 00042 #define LIBIMPORT extern __declspec(dllimport) 00043 #endif 00044 #elif !defined(WIN32) 00045 #define LIBEXPORT extern 00046 #define LIBIMPORT extern 00047 #endif 00048 00049 #endif /* _EXTERNDEF_H */