Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
fa9e25ac
Commit
fa9e25ac
authored
Sep 05, 1995
by
Per Cederqvist
Browse files
(NORETURN): New define.
(Volatile, Inline): Removed.
parent
68e27590
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/include/compiler.h
View file @
fa9e25ac
/*
* $Id: compiler.h,v 0.
5
1995/0
1
/0
1 20:17:08
ceder Exp $
* $Id: compiler.h,v 0.
6
1995/0
9
/0
5 18:31:33
ceder Exp $
* Copyright (C) 1990, 1991, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -45,21 +45,13 @@
*/
#ifndef SPECIAL_H_ALREADY_INCLUDED__
#define SPECIAL_H_ALREADY_INCLUDED__
#ifdef __GNUC__
# define Inline __inline__
/* Inline function */
# define Volatile volatile
/* Function does not return */
#ifndef COMPILER_H_ALREADY_INCLUDED__
#define COMPILER_H_ALREADY_INCLUDED__
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)
# define NORETURN __attribute__ ((__noreturn__))
#else
# define Inline
# define Volatile
# define NORETURN
#endif
#endif
/* SPECIAL_H_ALREADY_INCLUDED__ */
#endif
/* COMPILER_H_ALREADY_INCLUDED__ */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment