BIND 10 trac2351, updated. 7ea3a334b9f55c7af5e6efd79311e40a44d6bc03 missing dll.h in util
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Oct 15 10:50:49 UTC 2012
The branch, trac2351 has been updated
via 7ea3a334b9f55c7af5e6efd79311e40a44d6bc03 (commit)
from 29023a38b4198a2c4031d30f38e2e98f9106be59 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7ea3a334b9f55c7af5e6efd79311e40a44d6bc03
Author: Francis Dupont <fdupont at isc.org>
Date: Mon Oct 15 12:50:39 2012 +0200
missing dll.h in util
-----------------------------------------------------------------------
Summary of changes:
src/lib/util/Makefile.am | 3 ++-
src/lib/{exceptions => util}/dll.h | 14 +++++++-------
2 files changed, 9 insertions(+), 8 deletions(-)
copy src/lib/{exceptions => util}/dll.h (78%)
-----------------------------------------------------------------------
diff --git a/src/lib/util/Makefile.am b/src/lib/util/Makefile.am
index a3262e2..8bd262b 100644
--- a/src/lib/util/Makefile.am
+++ b/src/lib/util/Makefile.am
@@ -8,7 +8,8 @@ AM_CPPFLAGS += -DLOCKFILE_DIR=\"${localstatedir}/${PACKAGE_NAME}\"
AM_CXXFLAGS = $(B10_CXXFLAGS)
lib_LTLIBRARIES = libb10-util.la
-libb10_util_la_SOURCES = filename.h filename.cc
+libb10_util_la_SOURCES = dll.h
+libb10_util_la_SOURCES += filename.h filename.cc
libb10_util_la_SOURCES += locks.h lru_list.h
libb10_util_la_SOURCES += strutil.h strutil.cc
libb10_util_la_SOURCES += buffer.h io_utilities.h
diff --git a/src/lib/util/dll.h b/src/lib/util/dll.h
new file mode 100644
index 0000000..9b7c46d
--- /dev/null
+++ b/src/lib/util/dll.h
@@ -0,0 +1,32 @@
+// Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC")
+//
+// Permission to use, copy, modify, and/or distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+// PERFORMANCE OF THIS SOFTWARE.
+
+#ifndef __LIBUTIL_H
+#define __LIBUTIL_H 1
+
+#if !defined(_WIN32) || defined(USE_STATIC_LINK)
+#define B10_LIBUTIL_API
+#else
+#ifdef B10_LIBUTIL_EXPORT
+#define B10_LIBUTIL_API __declspec(dllexport)
+#else
+#define B10_LIBUTIL_API __declspec(dllimport)
+#endif
+#endif
+
+#endif // __LIBUTIL_H
+
+// Local Variables:
+// mode: c++
+// End:
More information about the bind10-changes
mailing list