Comments (4)
thanks for reporting this. I thought I'd already fixed this one, but I must not have been able to figure it out. Do you have any insight into autoconf, and how I might catch this? I've always found autoconf to be like something Serverus Snape would teach.
hmm... maybe I can just check for osx at compile time? I did think I was doing that.
from libuseful.
Yeah, I think checking it in autoconf is going to be... thorny? I have about the same experiences with trying to make autoconf checks like that more complex.
I think scoping the check to #ifdef __linux__
would be more appropriate than checking for OS X; since it's a non-POSIX API, any other functions by the same name in other non-OS X OSs are probably also going to end up being incompatible.
from libuseful.
I've discovered there's an #ifdef APPLE, which I'm hoping will fix it. It's passing on travis-ci, but then it was before too. It's in the 4.23 release.
I tend to find autoconf is, to paraphrase Churchill, the worst build system there is, except for all the other ones I've seen.
Thanks again for reporting this.
from libuseful.
Thanks! I caught a handful of very minor issues with that commit, so I opened #2 to fix that.
from libuseful.
Related Issues (11)
- PBASE64_CHARS is not rfc 4648 compliant HOT 2
- failed build under musl libc missing LOCK_EX definition HOT 3
- faile to build with -Werror=return-type HOT 2
- unicode-names.conf installed into previx HOT 1
- [5.7] configure: error: cannot find sources (libUseful) in . or .. HOT 1
- HTTPServerSendFile declared as int but never returns one HOT 1
- Configure does not find zlib but claims it is enabled HOT 1
- library has no soname HOT 3
- headers installed twice HOT 6
- String.c List.c -Werror=unused-variable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libuseful.