diff options
author | Josh Blum | 2012-03-21 16:59:12 -0700 |
---|---|---|
committer | Josh Blum | 2012-03-21 16:59:12 -0700 |
commit | d88328072d5ecd0c3c5aef05b705e2b4a1425d9f (patch) | |
tree | 9b2d8fe75f84206898da42daae35dd78f1c632d7 /volk/gen | |
parent | c9ff4b288d981780dbb6e0bb5fc304997cadc2b1 (diff) | |
download | gnuradio-d88328072d5ecd0c3c5aef05b705e2b4a1425d9f.tar.gz gnuradio-d88328072d5ecd0c3c5aef05b705e2b4a1425d9f.tar.bz2 gnuradio-d88328072d5ecd0c3c5aef05b705e2b4a1425d9f.zip |
volk: add include for config.h to cc file
volk_32f_s32f_convert_16i_a was also a problem,
previously volk_32f_s32f_convert_16i_u was fixed to have config.h.
I heard putting config h stuff into public headers was bad practice.
Including config.h into the generated cc file should fix this issue from now on.
Diffstat (limited to 'volk/gen')
-rw-r--r-- | volk/gen/make_each_machine_c.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/volk/gen/make_each_machine_c.py b/volk/gen/make_each_machine_c.py index 44e2ef3f2..a3f6203ba 100644 --- a/volk/gen/make_each_machine_c.py +++ b/volk/gen/make_each_machine_c.py @@ -65,6 +65,10 @@ def make_each_machine_c(machine_name, archs, functions, fcountlist, taglist, ali #include "volk_machines.h" #include <volk/volk_config_fixed.h> +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + """ for func in functions: tempstring += "#include <volk/" + func + ".h>\n" |