Skip to content

Instantly share code, notes, and snippets.

@klange
Created March 1, 2023 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klange/2ef0daf6ee61aeee8add4c9c9e23d192 to your computer and use it in GitHub Desktop.
Save klange/2ef0daf6ee61aeee8add4c9c9e23d192 to your computer and use it in GitHub Desktop.
if cc.links('''
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char * argv[]) { return printf("%f\n", __builtin_floor(atof(argv[1]))); }
''') == false
message('oh no')
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment