summaryrefslogtreecommitdiff
path: root/gr-uhd/include/gr_uhd_api.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-25 16:11:48 -0800
committerJosh Blum <josh@joshknows.com>2011-02-25 16:11:48 -0800
commita02bb131f68d5aa66093310c393562671e389778 (patch)
treecc234438359b7e734bb00ac08083c2582b0db86b /gr-uhd/include/gr_uhd_api.h
parentda9e63bf4110c06d9a38f2bde3a665f1ae4addae (diff)
parent5bb8acf24e4913d2a969db70476af65c498b032f (diff)
Merge branch 'gr_uhd_next' into next
Diffstat (limited to 'gr-uhd/include/gr_uhd_api.h')
-rw-r--r--gr-uhd/include/gr_uhd_api.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/gr-uhd/include/gr_uhd_api.h b/gr-uhd/include/gr_uhd_api.h
new file mode 100644
index 0000000000..d20b82c99b
--- /dev/null
+++ b/gr-uhd/include/gr_uhd_api.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2011 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio 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, or (at your option)
+ * any later version.
+ *
+ * GNU Radio 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 GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef INCLUDED_GR_UHD_API_H
+#define INCLUDED_GR_UHD_API_H
+
+#include <uhd/config.hpp>
+
+#ifdef gnuradio_uhd_EXPORTS
+# define GR_UHD_API UHD_EXPORT
+#else
+# define GR_UHD_API UHD_IMPORT
+#endif
+
+#endif /* INCLUDED_GR_UHD_API_H */