base_api.h revision ddb351dbec246cf1fab5ec20d2d5520909041de1
1// Copyright (c) 2011 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. 4 5#ifndef BASE_BASE_API_H_ 6#define BASE_BASE_API_H_ 7#pragma once 8 9#if defined(WIN32) && defined(BASE_DLL) 10#if defined(BASE_IMPLEMENTATION) 11#define BASE_API __declspec(dllexport) 12#else 13#define BASE_API __declspec(dllimport) 14#endif // defined(BASE_IMPLEMENTATION) 15#else 16#define BASE_API 17#endif 18 19#endif // BASE_BASE_API_H_ 20