Quellcode durchsuchen

Fix dllexport usage, courtesy of Carlo Bramini in #48.

tags/v0.99.beta17
Sam Hocevar sam vor 15 Jahren
Ursprung
Commit
51cf438fb0
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen
  1. +4
    -4
      caca/caca.h
  2. +3
    -3
      caca/caca0.h

+ 4
- 4
caca/caca.h Datei anzeigen

@@ -1,6 +1,6 @@
/*
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net>
* Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
* $Id$
@@ -31,10 +31,10 @@
#endif

#undef __extern
#if defined(_DOXYGEN_SKIP_ME)
#elif defined(_WIN32) && defined(__LIBCACA__)
#if defined _DOXYGEN_SKIP_ME
#elif defined _WIN32 && defined __LIBCACA__ && defined DLL_EXPORT
# define __extern extern __declspec(dllexport)
#elif defined(_WIN32)
#elif defined _WIN32 && !defined __LIBCACA__
# define __extern extern __declspec(dllimport)
#else
# define __extern extern


+ 3
- 3
caca/caca0.h Datei anzeigen

@@ -23,10 +23,10 @@
#include <caca.h>

#undef __extern
#if defined(_DOXYGEN_SKIP_ME)
#elif defined(_WIN32) && defined(__LIBCACA__)
#if defined _DOXYGEN_SKIP_ME
#elif defined _WIN32 && defined __LIBCACA__ && defined DLL_EXPORT
# define __extern extern __declspec(dllexport)
#elif defined(_WIN32)
#elif defined _WIN32 && !defined __LIBCACA__
# define __extern extern __declspec(dllimport)
#else
# define __extern extern


Laden…
Abbrechen
Speichern