]> rtime.felk.cvut.cz Git - frescor/fna.git/commitdiff
restored
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 4 Feb 2009 10:01:42 +0000 (10:01 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Wed, 4 Feb 2009 10:01:42 +0000 (10:01 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1535 35b4ef3e-fd22-0410-ab77-dab3279adceb

src/fna_configuration.c

index 97c29bdf080f72bd835c5e4dfa5fa09a99342845..656f9c652de7f4cbb373b533013baf81cce621f1 100644 (file)
 //==============================================================
 
 #include "fna_configuration.h"
-#include "../src_frescan/frescan_bwres_fna.h" // for frescan_fna_operations
-#include "../src_rtep/rtep_fna.h" // for rtep_fna_operations
+
+#ifdef RTEP_FNA_ENABLED
+        #include "../src_rtep/rtep_fna.h" // for rtep_fna_operations
+#endif
 
 #ifdef UNIX_FNA_ENABLED
         #include "../src_unix/unix_fna.h" // for unix_fna_operations
 #endif
 
+#ifdef FRESCAN_FNA_ENABLED
+        #include "../src_frescan/frescan_bwres_fna.h" // for frescan_fna_operations
+#endif
+
 #ifdef FWP_FNA_ENABLED
         #include <fwp_fna.h> // for fwp_fna_operations
 #endif
 
 fna_operations_t  *fna_operations[FNA_MAX_NETWORKS] = {
+#ifdef FRESCAN_FNA_ENABLED
         &frescan_fna_operations,
+#else
+        NULL,
+#endif
+#ifdef RTEP_FNA_ENABLED
         &rtep_fna_operations,
+#else
+        NULL,
+#endif
 #ifdef UNIX_FNA_ENABLED
         &unix_fna_operations,
 #else
-        NULL,
+       NULL,
 #endif
 #ifdef FWP_FNA_ENABLED
         &fwp_fna_operations
 #else
-        NULL
+       NULL
 #endif
 };