Theora Playback Library  1.0.0
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TheoraExport.h
Go to the documentation of this file.
1 /************************************************************************************
2 This source file is part of the Theora Video Playback Library
3 For latest info, see http://libtheoraplayer.sourceforge.net/
4 *************************************************************************************
5 Copyright (c) 2008-2013 Kresimir Spes (kspes@cateia.com)
6 This program is free software; you can redistribute it and/or modify it under
7 the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php
8 *************************************************************************************/
9 #ifndef _theoraVideoExport_h
10 #define _theoraVideoExport_h
11 
12 #ifdef _WIN32
13  #ifdef THEORAVIDEO_STATIC
14  #define TheoraPlayerExport
15  #else
16  #ifdef THEORAVIDEO_EXPORTS
17  #define TheoraPlayerExport __declspec(dllexport)
18  #else
19  #define TheoraPlayerExport __declspec(dllimport)
20  #endif
21  #endif
22 #else
23  #define TheoraPlayerExport __attribute__ ((visibility("default")))
24 #endif
25 
26 #endif
27