wahern / cqueues

Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.
http://25thandclement.com/~william/projects/cqueues.html
MIT License
244 stars 37 forks source link

fix(config.h.guess) include `time.h` before checking time related def… #228

Closed dndx closed 5 years ago

dndx commented 5 years ago

…initions. fixes #227

Tested under macOS and Fedora 29 and confirmed working.

daurnimator commented 5 years ago

I'm wondering if the better solution is to only include config.h after all the includes.

dndx commented 5 years ago

@daurnimator I feel this solution is better. Having config.h.guess rely on the order of other files being included seems to make little sense. After all config.h.guess should always be able to determine the necessary feature flags independently.