arsa  2.7
export.h
Go to the documentation of this file.
1 //
2 // Copyright(c) 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 // export.h : Defines ANGLE_EXPORT, a macro for exporting functions from the DLL
8 
9 #ifndef LIBGLESV2_EXPORT_H_
10 #define LIBGLESV2_EXPORT_H_
11 
12 #if defined(_WIN32)
13 # if defined(LIBGLESV2_IMPLEMENTATION) || defined(LIBANGLE_IMPLEMENTATION)
14 # define ANGLE_EXPORT __declspec(dllexport)
15 # else
16 # define ANGLE_EXPORT __declspec(dllimport)
17 # endif
18 #elif defined(__GNUC__)
19 # if defined(LIBGLESV2_IMPLEMENTATION) || defined(LIBANGLE_IMPLEMENTATION)
20 # define ANGLE_EXPORT __attribute__((visibility ("default")))
21 # else
22 # define ANGLE_EXPORT
23 # endif
24 #else
25 # define ANGLE_EXPORT
26 #endif
27 
28 #endif // LIBGLESV2_EXPORT_H_