[ENet-discuss] merge time.h into protocol.c
James B
z2895 at hotmail.com
Thu Oct 4 08:21:49 PDT 2012
Since protocol.h is the only file that uses time.h shouldn't the definitions simply be moved into the c file? The reason for this is when using enet in xcode, it picks up the enet time.h as the system <time.h>. I think this is because by default xcode uses flat header paths. I accept this is probably a problem with xcode, there is an option to turn off flat headers, but since this is on by default and probably what 99% of projects are built with it may make sense to change enet to work more easily with this. This caused me a wasted day of figuring out what the hell was going on with time.h. Or at least change the name of the file to enettime.h or something.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20121004/4ed5c281/attachment.html>
More information about the ENet-discuss
mailing list