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.
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss