Undefine Unreal Macro

Hey
I am currently trying to include a header file from a 3d party. The problem is that they define a macro (#typedef long int32_t) and unreal is using the same one. I tried using #undef int32_t before including the header file.
Thank you for your help.