CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
#ifndef LOADGAP_H
2
#define LOADGAP_H
3
4
/* Try to use as much of the GNU C library as possible: */
5
#ifndef _GNU_SOURCE
6
#define _GNU_SOURCE
7
#endif
8
9
//Included by Thomas to work
10
#include<gmp.h>
11
12
extern "C" {
13
14
15
#include <src/compiled.h> /* GAP headers */
16
17
18
19
/* The following seems to be necessary to run under modern gcc compilers
20
* which have the ssp stack checking enabled. Hopefully this does not
21
* hurt in future or other versions... */
22
#ifdef __GNUC__
23
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1))
24
extern void __stack_chk_fail();
25
#endif
26
#endif
27
}
28
29
#endif
30
# define MORE_TESTS 1
31
32