diff options
author | Andris Pavenis <andris.pavenis@iki.fi> | 2016-10-11 21:12:52 +0300 |
---|---|---|
committer | Andris Pavenis <andris@gcc.gnu.org> | 2016-10-11 21:12:52 +0300 |
commit | 4f100fd7dbccf6d55fc0821038b97f54ff97524f (patch) | |
tree | 2cb06a0014c552f6834280a5627431cb6c2877ca /gcc/ada/init.c | |
parent | a32fc2165b93b4ff31fb35d17afd6701de35721e (diff) | |
download | gcc-4f100fd7dbccf6d55fc0821038b97f54ff97524f.zip gcc-4f100fd7dbccf6d55fc0821038b97f54ff97524f.tar.gz gcc-4f100fd7dbccf6d55fc0821038b97f54ff97524f.tar.bz2 |
ctrl_c.c: Do not use macro SA_RESTART for DJGPP.
2016-10-11 Andris Pavenis <andris.pavenis@iki.fi>
* ctrl_c.c: Do not use macro SA_RESTART for DJGPP.
* gsocket.h: Do not support sockets for DJGPP.
* init.c (__gnat_install_handler): Implememt for DJGPP
* sysdep.c: Include <io.h> for DJGPP
(_setmode): Define to setmode for DJGPP
(__gnat_set_mode): Add implementation for DJGPP
(__gnat_localtime_tzoff): Use localtime_r for DJGPP
* terminals.c: Add DJGPP to list of unsupported platforms.
* env.c (__gnat_clearenv): use _gnat_unsetenv on all entries for DJGPP
From-SVN: r240997
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r-- | gcc/ada/init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c index 6d51896..cec968b 100644 --- a/gcc/ada/init.c +++ b/gcc/ada/init.c @@ -2516,6 +2516,14 @@ __gnat_install_handler (void) __gnat_handler_installed = 1; } +#elif defined (__DJGPP__) + +void +__gnat_install_handler () +{ + __gnat_handler_installed = 1; +} + #elif defined(__ANDROID__) /*******************/ |