Code

Merged ChangeLog from tags/collectd-3.8.3 back to trunk
[collectd.git] / src / serial.h
1 /**
2  * collectd - src/serial.h
3  * Copyright (C) 2005  David Bacher
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18  *
19  * Authors:
20  *   David Bacher <drbacher at gmail.com>
21  *   Florian octo Forster <octo at verplant.org>
22  **/
24 #ifndef SERIAL_H
25 #define SERIAL_H
27 #include "collectd.h"
28 #include "common.h"
30 #ifndef COLLECT_SERIAL
31 #if defined(KERNEL_LINUX)
32 #define COLLECT_SERIAL 1
33 #else
34 #define COLLECT_SERIAL 0
35 #endif
36 #endif /* !defined(COLLECT_SERIAL) */
38 #endif /* SERIAL_H */