Eliminate a warning about a symbol being redefined
This commit is contained in:
parent
615e640913
commit
e39c85b718
@ -50,9 +50,18 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#define USEC_PER_MSEC 1000
|
#ifndef USEC_PER_MSEC
|
||||||
#define MSEC_PER_SEC 1000
|
# define USEC_PER_MSEC 1000L
|
||||||
#define USEC_PER_SEC (USEC_PER_MSEC * MSEC_PER_SEC)
|
#endif
|
||||||
|
|
||||||
|
#ifndef MSEC_PER_SEC
|
||||||
|
# define MSEC_PER_SEC 1000L
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USEC_PER_SEC
|
||||||
|
# define USEC_PER_SEC (USEC_PER_MSEC * MSEC_PER_SEC)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SHORT_DELAY (USEC_PER_SEC / 3)
|
#define SHORT_DELAY (USEC_PER_SEC / 3)
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -50,9 +50,18 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#define USEC_PER_MSEC 1000
|
#ifndef USEC_PER_MSEC
|
||||||
#define MSEC_PER_SEC 1000
|
# define USEC_PER_MSEC 1000L
|
||||||
#define USEC_PER_SEC (USEC_PER_MSEC * MSEC_PER_SEC)
|
#endif
|
||||||
|
|
||||||
|
#ifndef MSEC_PER_SEC
|
||||||
|
# define MSEC_PER_SEC 1000L
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USEC_PER_SEC
|
||||||
|
# define USEC_PER_SEC (USEC_PER_MSEC * MSEC_PER_SEC)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SHORT_DELAY (USEC_PER_SEC / 3)
|
#define SHORT_DELAY (USEC_PER_SEC / 3)
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user