Revision: 41982
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41982&view=rev
Author:   erikgreenwald
Date:     2011-01-06 20:11:34 +0000 (Thu, 06 Jan 2011)

Log Message:
-----------
add FFT_EXPORT

Modified Paths:
--------------
    brlcad/trunk/src/libfft/fft.h

Modified: brlcad/trunk/src/libfft/fft.h
===================================================================
--- brlcad/trunk/src/libfft/fft.h       2011-01-06 20:05:20 UTC (rev 41981)
+++ brlcad/trunk/src/libfft/fft.h       2011-01-06 20:11:34 UTC (rev 41982)
@@ -35,9 +35,21 @@
 #  define M_SQRT2 1.41421356237309504880168872421
 #endif
 
-extern void splitdit(int N, int M);
-extern void ditsplit(int n /* length */, int m /* n = 2^m */);
+#ifndef FFT_EXPORT
+#  if defined(_WIN32) && !defined(__CYGWIN__) && defined(BRLCAD_DLL)
+#    ifdef FFT_EXPORT_DLL
+#      define FFT_EXPORT __declspec(dllexport)
+#    else
+#      define FFT_EXPORT __declspec(dllimport)
+#    endif
+#  else
+#    define FFT_EXPORT
+#  endif
+#endif
 
+FFT_EXPORT extern void splitdit(int N, int M);
+FFT_EXPORT extern void ditsplit(int n /* length */, int m /* n = 2^m */);
+
 /*
  * Local Variables:
  * mode: C


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to