Closed ghost closed 8 years ago
I believe sys/types.h
is standard. u_int*_t
's are not though.
You're right. My post wasn't clear. It's u_int_*
only that's not standard.
Here's the fix. Please review and if good apply. http://sprunge.us/EGTf
Could you please submit a pull request instead?
Are the patches good? If so I think I can reproduce them in the pull request format.
FWIW, are __BEGIN_DECLS
and __END_DECLS
actually used anywhere? Seems that we can simply remove them.
Even better then. Less is more. I'll remove the cruft.
I wish we can just have julia versions of many of these things eventually.
@ViralBShah I wish julia could be portable and work everywhere with a single version. Why add complexity? A single standard version that works anywhere is much more rewarding. Less is more.
This is my opinion.
sys/types.h
and itsu_int_*
should never be used.stdint.h
and itsuint_*
is the C99 standard.