So I wrote a SVD code in C - at first I used Dev-C++ which (correct me if I'm wrong) came with a different compiler (mingw or something?) from the one used in Microsoft Visual Studio 2008. I am using complex.h a lot in my SVD code and it worked perfectly with Dev-C++.
But in order to use the SVD code in Embedded Matlab I installed Visual Studio to use its compiler and learned that it doesn't have/support C99 so I can't use complex.h
Is there a workaround to this without having to re-write my whole SVD code (which is really long), other than writing my own "complex.h" header file and all the functions associated with the operations I'm doing (complex number multiplication, addition, magnitude, etc.)?