source: abuse/trunk/src/exitproc.h @ 528

Last change on this file since 528 was 494, checked in by Sam Hocevar, 11 years ago

style: remove trailing spaces, fix copyright statements.

  • Property svn:keywords set to Id
File size: 554 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5 *
6 *  This software was released into the Public Domain. As with most public
7 *  domain software, no warranty is made or implied by Crack dot Com or
8 *  Jonathan Clark.
9 */
10
11#ifndef __EXITPROC_HPP_
12#define __EXITPROC_HPP_
13
14#include <stdlib.h>
15
16#ifdef HAVE_ATEXIT
17#define exit_proc(x,y) atexit(y)
18#elif defined (HAVE_ON_EXIT)
19#define exit_proc(x,y) on_exit(x,NULL)
20#else
21#error no atexit?!?
22#endif
23
24
25#endif
Note: See TracBrowser for help on using the repository browser.