remove duplicate friend declaration
[chromium-blink-merge.git] / third_party / cython / python_export.h
blobe943399c2ce07a5127df1fdada7ae4524de3a303
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #if defined(PyMODINIT_FUNC)
6 #undef PyMODINIT_FUNC
7 #endif
9 #if defined(WIN32)
10 #define PyMODINIT_FUNC extern "C" __declspec(dllexport) void
11 #else
12 #define PyMODINIT_FUNC extern "C" __attribute__((visibility("default"))) void
13 #endif