Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(728)

Unified Diff: mojo/public/gles2/gles2.h

Issue 110843003: Clean up mojo export files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/common/mojo_common_export.h ('k') | mojo/public/system/system_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/gles2/gles2.h
diff --git a/mojo/public/gles2/gles2.h b/mojo/public/gles2/gles2.h
index 36af768796be726683a663190ef44c1a467fa921..fbcb2c7ac2e488a1b29a9d8ace2839ceff079a79 100644
--- a/mojo/public/gles2/gles2.h
+++ b/mojo/public/gles2/gles2.h
@@ -2,31 +2,34 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_PUBLIC_GLES2_ADAPTOR_H_
-#define MOJO_PUBLIC_GLES2_ADAPTOR_H_
+#ifndef MOJO_PUBLIC_GLES2_GLES2_H_
+#define MOJO_PUBLIC_GLES2_GLES2_H_
// Note: This header should be compilable as C.
#include <stdint.h>
#if defined(COMPONENT_BUILD)
+
#if defined(WIN32)
#if defined(MOJO_GLES2_IMPLEMENTATION)
#define MOJO_GLES2_EXPORT __declspec(dllexport)
#else
#define MOJO_GLES2_EXPORT __declspec(dllimport)
-#endif // defined(MOJO_GLES2_IMPLEMENTATION)
+#endif
+
+#else // !defined(WIN32)
-#else // defined(WIN32)
#if defined(MOJO_GLES2_IMPLEMENTATION)
#define MOJO_GLES2_EXPORT __attribute__((visibility("default")))
#else
#define MOJO_GLES2_EXPORT
#endif
-#endif
-#else // defined(COMPONENT_BUILD)
+#endif // defined(WIN32)
+
+#else // !defined(COMPONENT_BUILD)
#define MOJO_GLES2_EXPORT
#endif
@@ -44,4 +47,4 @@ MOJO_GLES2_EXPORT void MojoGLES2SwapBuffers();
} // extern "C"
#endif
-#endif // MOJO_PUBLIC_GLES2_ADAPTOR_H_
+#endif // MOJO_PUBLIC_GLES2_GLES2_H_
« no previous file with comments | « mojo/common/mojo_common_export.h ('k') | mojo/public/system/system_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698