Closed edwardhartnett closed 2 years ago
Yeah, there's no reason to have these IBM (and AIX) macros. iso_c_binding
is the correct way to interface with C so you don't have to play with name mangling manually.
Yes, we should be using the modern Fortran/C API. See #34.
In byteswap.c we have code like this:
But we also have this at the top of the file:
#define LINUX /**< Define LINUX. */
So LINUX is the only one we need...