mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 22:13:25 -10:00
This reverts commit 2f9b5e6f79.
Change-Id: I90a7ba0596e79795c9549bc268eabff69c96d572
Reviewed-on: https://chromium-review.googlesource.com/376079
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
29 lines
819 B
C
29 lines
819 B
C
//
|
|
// Copyright(c) 2014 The ANGLE Project Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
//
|
|
|
|
// export.h : Defines ANGLE_EXPORT, a macro for exporting functions from the DLL
|
|
|
|
#ifndef LIBGLESV2_EXPORT_H_
|
|
#define LIBGLESV2_EXPORT_H_
|
|
|
|
#if defined(_WIN32)
|
|
# if defined(LIBGLESV2_IMPLEMENTATION) || defined(LIBANGLE_IMPLEMENTATION)
|
|
# define ANGLE_EXPORT __declspec(dllexport)
|
|
# else
|
|
# define ANGLE_EXPORT __declspec(dllimport)
|
|
# endif
|
|
#elif defined(__GNUC__)
|
|
# if defined(LIBGLESV2_IMPLEMENTATION) || defined(LIBANGLE_IMPLEMENTATION)
|
|
# define ANGLE_EXPORT __attribute__((visibility ("default")))
|
|
# else
|
|
# define ANGLE_EXPORT
|
|
# endif
|
|
#else
|
|
# define ANGLE_EXPORT
|
|
#endif
|
|
|
|
#endif // LIBGLESV2_EXPORT_H_
|