libnsgif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
log.h
Go to the documentation of this file.
1 /*
2  * Copyright 2003 James Bursa <bursa@users.sourceforge.net>
3  * Copyright 2004 John Tytgat <John.Tytgat@aaug.net>
4  *
5  * This file is part of NetSurf, http://www.netsurf-browser.org/
6  * Licenced under the MIT License,
7  * http://www.opensource.org/licenses/mit-license.php
8  */
9 
10 #include <stdio.h>
11 
12 #ifndef _LIBNSGIF_LOG_H_
13 #define _LIBNSGIF_LOG_H_
14 
15 #ifdef NDEBUG
16 # define LOG(x) ((void) 0)
17 #else
18 # define LOG(x) do { fprintf(stderr, x), fputc('\n', stderr); } while (0)
19 #endif /* NDEBUG */
20 
21 #endif /* _LIBNSGIF_LOG_H_ */