mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
zapit/debug: even shorter filenames
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
* $Id: debug.h,v 1.7 2003/04/30 04:39:03 obi Exp $
|
* $Id: debug.h,v 1.7 2003/04/30 04:39:03 obi Exp $
|
||||||
*
|
*
|
||||||
* (C) 2002-2003 Andreas Oberritter <obi@tuxbox.org>
|
* (C) 2002-2003 Andreas Oberritter <obi@tuxbox.org>
|
||||||
|
* (C) 2011,2013 Stefan Seyfried
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -44,7 +45,7 @@
|
|||||||
/* zapit.cpp */
|
/* zapit.cpp */
|
||||||
extern int zapit_debug;
|
extern int zapit_debug;
|
||||||
|
|
||||||
static int __striplen = strstr(__FILE__, "src/zapit") ? (strstr(__FILE__, "src/zapit") - __FILE__ + 4) : 0;
|
static int __striplen = strstr(__FILE__, "src/zapit") ? (strstr(__FILE__, "src/zapit") - __FILE__ + 14) : 0;
|
||||||
#define __SHORTFILE__ (__FILE__ + __striplen)
|
#define __SHORTFILE__ (__FILE__ + __striplen)
|
||||||
|
|
||||||
#define DBG(fmt, args...) \
|
#define DBG(fmt, args...) \
|
||||||
|
Reference in New Issue
Block a user