diff options
Diffstat (limited to 'TOOLS')
-rw-r--r-- | TOOLS/fastmemcpybench.c | 2 | ||||
-rw-r--r-- | TOOLS/netstream.c | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/TOOLS/fastmemcpybench.c b/TOOLS/fastmemcpybench.c index 1e3cc14ce3..35f7914285 100644 --- a/TOOLS/fastmemcpybench.c +++ b/TOOLS/fastmemcpybench.c @@ -86,7 +86,7 @@ static unsigned int GetTimer(){ static inline unsigned long long int read_tsc( void ) { unsigned long long int retval; - __asm __volatile ("rdtsc":"=A"(retval)::"memory"); + __asm__ volatile ("rdtsc":"=A"(retval)::"memory"); return retval; } diff --git a/TOOLS/netstream.c b/TOOLS/netstream.c index 0009f673f6..8bc09b9a9d 100644 --- a/TOOLS/netstream.c +++ b/TOOLS/netstream.c @@ -44,7 +44,7 @@ #include "mpbswap.h" /// Netstream packets def and some helpers -#include "stream/netstream.h" +#include "stream/stream_netstream.h" // linking hacks char *info_name; @@ -59,11 +59,6 @@ char* out_filename = NULL; char* force_fourcc=NULL; char* passtmpfile="divx2pass.log"; -#ifdef __MINGW32__ -#define usleep sleep -void strsep() {}; -#endif - static unsigned short int port = 10000; typedef struct client_st client_t; |