[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r9447 - usrp2/trunk/host/include/usrp2
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r9447 - usrp2/trunk/host/include/usrp2 |
Date: |
Fri, 29 Aug 2008 13:42:20 -0600 (MDT) |
Author: jcorgan
Date: 2008-08-29 13:42:20 -0600 (Fri, 29 Aug 2008)
New Revision: 9447
Added:
usrp2/trunk/host/include/usrp2/usrp2_cdefs.h
Modified:
usrp2/trunk/host/include/usrp2/Makefile.am
Log:
(Possibly temporary) fix for strtod_si use outside tree.
Modified: usrp2/trunk/host/include/usrp2/Makefile.am
===================================================================
--- usrp2/trunk/host/include/usrp2/Makefile.am 2008-08-29 19:41:00 UTC (rev
9446)
+++ usrp2/trunk/host/include/usrp2/Makefile.am 2008-08-29 19:42:20 UTC (rev
9447)
@@ -28,4 +28,6 @@
rx_sample_handler.h \
strtod_si.h \
tune_result.h \
- usrp2.h
+ usrp2.h \
+ usrp2_cdefs.h
+
Copied: usrp2/trunk/host/include/usrp2/usrp2_cdefs.h (from rev 9443,
usrp2/trunk/firmware/include/usrp2_cdefs.h)
===================================================================
--- usrp2/trunk/host/include/usrp2/usrp2_cdefs.h
(rev 0)
+++ usrp2/trunk/host/include/usrp2/usrp2_cdefs.h 2008-08-29 19:42:20 UTC
(rev 9447)
@@ -0,0 +1,34 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2007 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 this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef INCLUDED_USRP2_CDEFS_H
+#define INCLUDED_USRP2_CDEFS_H
+
+/* C++ needs to know that types and declarations are C, not C++. */
+#ifdef __cplusplus
+# define __U2_BEGIN_DECLS extern "C" {
+# define __U2_END_DECLS }
+#else
+# define __U2_BEGIN_DECLS
+# define __U2_END_DECLS
+#endif
+
+#endif /* INCLUDED_USRP2_CDEFS_H */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r9447 - usrp2/trunk/host/include/usrp2,
jcorgan <=