Skip to content

Instantly share code, notes, and snippets.

@flysand7
Created November 21, 2021 07:05
Show Gist options
  • Save flysand7/2346b8648fb5e27c96174dfe4668701d to your computer and use it in GitHub Desktop.
Save flysand7/2346b8648fb5e27c96174dfe4668701d to your computer and use it in GitHub Desktop.
#include<stdio.h>
#pragma message "Enable SSE? (Enter 0 or 1)"
enum {
sse =
#include</dev/stdin>
};
#pragma message "Enable Logging? (Enter 0 or 1)"
enum {
logging =
#include</dev/stdin>
};
int main(void) {
if(logging) {
if(sse) {
printf("Using sse...\n");
}
else {
printf("Not using sse...\n");
}
}
else {
printf("This is not a log...\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment