Skip to content
Snippets Groups Projects
Commit e39c85b7 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Eliminate a warning about a symbol being redefined

parent 615e6409
No related branches found
No related tags found
No related merge requests found
......@@ -50,9 +50,18 @@
* Pre-processor Definitions
****************************************************************************/
#define USEC_PER_MSEC 1000
#define MSEC_PER_SEC 1000
#define USEC_PER_SEC (USEC_PER_MSEC * MSEC_PER_SEC)
#ifndef USEC_PER_MSEC
# define USEC_PER_MSEC 1000L
#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)
/****************************************************************************
......
......@@ -50,9 +50,18 @@
* Pre-processor Definitions
****************************************************************************/
#define USEC_PER_MSEC 1000
#define MSEC_PER_SEC 1000
#define USEC_PER_SEC (USEC_PER_MSEC * MSEC_PER_SEC)
#ifndef USEC_PER_MSEC
# define USEC_PER_MSEC 1000L
#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)
/****************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment