implemented cross compiling with mingw

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@740 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2012-04-10 21:55:01 +00:00
parent b85a8d4613
commit ca85cd8983
7 changed files with 120 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2010 Frank Morgner
* Copyright (C) 2010-2012 Frank Morgner <morgner@informatik.hu-berlin.de>.
*
* This file is part of pcsc-relay.
*
@@ -23,6 +23,9 @@
#define _PCSC_RELAY_H
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
@@ -50,7 +53,7 @@ extern struct rf_driver driver_libnfc;
#define INFO(...) \
{if (verbose >= LEVEL_INFO) \
printf (__VA_ARGS__);}
#define ERROR(...) \
#define RELAY_ERROR(...) \
{ \
if (verbose >= LEVEL_DEBUG) fprintf (stderr, "%s:%u\t", __FILE__, __LINE__); \
if (verbose >= 0) fprintf (stderr, __VA_ARGS__); \