mirror of
https://github.com/isfshax/isfshax.git
synced 2024-11-16 00:25:05 +01:00
99cded2762
allow debug output to be suspended, drop assembly version
29 lines
769 B
C
29 lines
769 B
C
/*
|
|
* minute - a port of the "mini" IOS replacement for the Wii U.
|
|
*
|
|
* Copyright (C) 2016 SALT
|
|
* Copyright (C) 2016 Daz Jones <daz@dazzozo.com>
|
|
*
|
|
* Copyright (C) 2008, 2009 Haxx Enterprises <bushing@gmail.com>
|
|
* Copyright (C) 2008, 2009 Sven Peter <svenpeter@gmail.com>
|
|
* Copyright (C) 2008, 2009 Hector Martin "marcan" <marcan@marcansoft.com>
|
|
*
|
|
* This code is licensed to you under the terms of the GNU GPL, version 2;
|
|
* see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
*/
|
|
|
|
#ifndef __DEBUG_H__
|
|
#define __DEBUG_H__
|
|
|
|
#include "types.h"
|
|
#include "stdio.h"
|
|
|
|
#ifndef ENABLE_DEBUG
|
|
static inline void DEBUG(char *fmt, ...) {}
|
|
#else
|
|
#define DEBUG(...) printf(__VA_ARGS__)
|
|
#endif
|
|
|
|
|
|
#endif /* __DEBUG_H__ */
|