]> arthur.barton.de Git - netatalk.git/blob - include/atalk/standards.h
logger: remove flood protection and allocate messages
[netatalk.git] / include / atalk / standards.h
1 /*
2   Copyright (c) 2011, Frank Lahm
3
4   This program is free software; you can redistribute it and/or modify
5   it under the terms of the GNU General Public License as published by
6   the Free Software Foundation; either version 2 of the License, or
7   (at your option) any later version.
8
9   This program is distributed in the hope that it will be useful,
10   but WITHOUT ANY WARRANTY; without even the implied warranty of
11   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   GNU General Public License for more details.
13 */
14
15 #ifndef ATALK_STANDARDS_H
16 #define ATALK_STANDARDS_H 1
17
18 #ifdef HAVE_CONFIG_H
19 #include "config.h"
20 #endif
21
22 #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
23 # ifndef _XOPEN_SOURCE
24 #  define _XOPEN_SOURCE 600
25 # endif
26 # ifndef __EXTENSIONS__
27 #  define __EXTENSIONS__
28 # endif
29 # ifndef _GNU_SOURCE
30 #  define _GNU_SOURCE
31 # endif
32 #endif
33
34 #endif /* ATALK_STANDARDS_H */