Source

Magnum / source / libs / magnum_openssl / source / magnum / openssl / DllExport.h

Full commit
/*
  Magnum
  Copyright (C) 2002-2012 Kaya Kupferschmidt. All Rights Reserved.

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial nets, and to alter it and redistribute it
  freely, under the terms in LICENSE.TXT.

  Kaya Kupferschmidt  (k.kupferschmidt@dimajix.de)
*/

#ifndef __MAGNUM_OPENSSL_DLLEXPORT_H
#define __MAGNUM_OPENSSL_DLLEXPORT_H

#include "magnum/object/config/Config.h"


#if defined(COMPILE_MAGNUM_OPENSSL)
#    define MAGNUM_OPENSSL_API     MAGNUM_API_EXPORT
#else
#    define MAGNUM_OPENSSL_API     MAGNUM_API_IMPORT
#endif

#endif