Make GMP optional for the examples
This commit is contained in:
1 parent
87183573ce
commit
dde090d4b0
3 files changed
+25
-5
No files matched your search
@@ -1,3 +1,5 @@
|
||||
#if HAVE_GMP
|
||||
|
||||
#include <stdio.h>
|
||||
#include <gmp.h>
|
||||
|
||||
@@ -61,3 +63,8 @@ int main(void)
|
||||
}
|
||||
} /* All variables are automatically cleared beyond this point */
|
||||
}
|
||||
|
||||
#else
|
||||
// Nothing to do
|
||||
int main(void) { return 0; }
|
||||
#endif
|
||||
Reference in new issue
Block a user