Katana Plug-in APIs 0.1

FnLoggingAPI.h

00001 // Copyright (c) 2016 The Foundry Visionmongers Ltd.
00002 #ifndef KATANA_FNLOGGING_FNLOGGINGAPI_H_
00003 #define KATANA_FNLOGGING_FNLOGGINGAPI_H_
00004 
00005 #if defined(_WIN32)
00006 #  if defined(FNLOGGING_APIEXPORT)
00007 #    define FNLOGGING_API __declspec(dllexport)
00008 #  elif !defined(FNLOGGING_STATIC)
00009 #    define FNLOGGING_API __declspec(dllimport)
00010 #  else
00011 #    define FNLOGGING_API
00012 #  endif  // FNLOGGING_APIEXPORT
00013 
00014 #elif defined(FNLOGGING_APIEXPORT)
00015 #  define FNLOGGING_API __attribute__((visibility("default")))
00016 #else
00017 #  define FNLOGGING_API
00018 #endif  // _WIN32
00019 
00020 #endif  // KATANA_FNLOGGING_FNLOGGINGAPI_H_
 All Classes Functions Variables Typedefs Enumerations Enumerator