mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Symbols weren't getting exported on Windows because the `FML_OS_WIN` macro wasn't being imported.
17 lines
484 B
C
17 lines
484 B
C
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "flutter/fml/build_config.h"
|
|
|
|
#ifndef FLUTTER_LIB_GPU_EXPORT_H_
|
|
#define FLUTTER_LIB_GPU_EXPORT_H_
|
|
|
|
#if FML_OS_WIN
|
|
#define FLUTTER_GPU_EXPORT __declspec(dllexport)
|
|
#else // FML_OS_WIN
|
|
#define FLUTTER_GPU_EXPORT __attribute__((visibility("default")))
|
|
#endif // FML_OS_WIN
|
|
|
|
#endif // FLUTTER_LIB_GPU_EXPORT_H_
|