Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3584 sourcerer 1
/*
2
 * Copyright 2003 James Bursa 
3
 * Copyright 2004 John Tytgat 
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 
11
 
12
#ifndef _LIBNSBMP_LOG_H_
13
#define _LIBNSBMP_LOG_H_
14
 
15
#ifdef NDEBUG
16
#  define LOG(x) ((void) 0)
17
#else
18
#  ifdef __GNUC__
19
#    define LOG(x) do { printf x, fputc('\n', stdout)); } while (0)
20
#  elif defined(__CC_NORCROFT)
21
#    define LOG(x) do { printf x, fputc('\n', stdout)); } while (0)
22
#  else
23
#    define LOG(x) do { printf x, fputc('\n', stdout)); } while (0)
24
#  endif
25
#endif
26
 
27
#endif