[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog libbase/tu_config.h libbase/dso...
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash ChangeLog libbase/tu_config.h libbase/dso... |
Date: |
Sat, 22 Mar 2008 19:23:42 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 08/03/22 19:23:42
Modified files:
. : ChangeLog
libbase : tu_config.h
Added files:
libbase : dsodefs.h
Log message:
Moved our defines for DSO{EXPORT, LOCAL} to it's own file.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6004&r2=1.6005
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_config.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/dsodefs.h?cvsroot=gnash&rev=1.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6004
retrieving revision 1.6005
diff -u -b -r1.6004 -r1.6005
--- ChangeLog 22 Mar 2008 19:19:07 -0000 1.6004
+++ ChangeLog 22 Mar 2008 19:23:41 -0000 1.6005
@@ -5,6 +5,9 @@
* libbase/postscript{cpp, h}: Unused garbage as well as PD-
licensed. On demand we'll write our own implementation.
+ * libbase/dsodefs.h, libbase/tu_config.h: Moved our defines
+ for DSO{EXPORT, LOCAL} to it's own file.
+
* libbase/utf8.h, libmedia/ffmpeg/ffmpegNetStreamUtil.h,
libmedia/ffmpeg/VideoDecoderFfmpeg.h:
Added DSOEXPORT to definations.
Index: libbase/tu_config.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_config.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- libbase/tu_config.h 21 Jan 2008 20:55:45 -0000 1.17
+++ libbase/tu_config.h 22 Mar 2008 19:23:41 -0000 1.18
@@ -14,6 +14,7 @@
#endif
#include "dlmalloc.h"
+#include "dsoddefs.h"
// #define these in compatibility_include.h if you want something different.
#ifndef tu_malloc
@@ -48,36 +49,4 @@
#define TU_CONFIG_LINK_TO_LIBXML 1
#endif
-#ifdef _MSC_VER
- #ifdef BUILDING_DLL
- #define DSOEXPORT __declspec(dllexport)
- #else
- // Temporarily commented because of VC++ compiler problems
- #define DSOEXPORT // __declspec(dllimport)
- #endif
-
- #define DSOLOCAL
-#elif defined(__OS2__)
- #ifdef BUILDING_DLL
- #define DSOEXPORT __declspec(dllexport)
- #else
- // Temporarily commented because of VC++ compiler problems
- #define DSOEXPORT // __declspec(dllimport)
- #endif
-
- #define DSOLOCAL
-
-#else
- #ifdef HAVE_GNUC_VISIBILITY
- #define DSOEXPORT __attribute__ ((visibility("default")))
- #define DSOLOCAL __attribute__ ((visibility("hidden")))
- #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) /* Sun Studio >= 8 */
- #define DSOEXPORT __global
- #define DSOLOCAL __hidden
- #else
- #define DSOEXPORT
- #define DSOLOCAL
- #endif
-#endif
-
#endif // TU_CONFIG_H
Index: libbase/dsodefs.h
===================================================================
RCS file: libbase/dsodefs.h
diff -N libbase/dsodefs.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ libbase/dsodefs.h 22 Mar 2008 19:23:41 -0000 1.1
@@ -0,0 +1,53 @@
+// Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+
+#ifndef DSODEFS_H
+#define DSODEFS_H
+
+#ifdef _MSC_VER
+ #ifdef BUILDING_DLL
+ #define DSOEXPORT __declspec(dllexport)
+ #else
+ // Temporarily commented because of VC++ compiler problems
+ #define DSOEXPORT // __declspec(dllimport)
+ #endif
+
+ #define DSOLOCAL
+#elif defined(__OS2__)
+ #ifdef BUILDING_DLL
+ #define DSOEXPORT __declspec(dllexport)
+ #else
+ // Temporarily commented because of VC++ compiler problems
+ #define DSOEXPORT // __declspec(dllimport)
+ #endif
+
+ #define DSOLOCAL
+
+#else
+ #ifdef HAVE_GNUC_VISIBILITY
+ #define DSOEXPORT __attribute__ ((visibility("default")))
+ #define DSOLOCAL __attribute__ ((visibility("hidden")))
+ #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) /* Sun Studio >= 8 */
+ #define DSOEXPORT __global
+ #define DSOLOCAL __hidden
+ #else
+ #define DSOEXPORT
+ #define DSOLOCAL
+ #endif
+#endif
+
+#endif /* DSODEFS_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog libbase/tu_config.h libbase/dso...,
Markus Gothe <=