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 <gmp.h>
|
||||
|
||||
#include "m-array.h"
|
||||
@@ -35,3 +37,8 @@ int main(void)
|
||||
array_mpz_clear(a);
|
||||
mpz_clear(z);
|
||||
}
|
||||
|
||||
#else
|
||||
// Nothing to do
|
||||
int main(void) { return 0; }
|
||||
#endif
|
||||
Reference in new issue
Block a user