diff options
author | Micael Karlberg <[email protected]> | 2018-06-18 15:29:53 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2018-09-18 14:50:18 +0200 |
commit | 978a8a855c57bdfb20d3bcd8a6055968f3be3887 (patch) | |
tree | 6a611150918943fb0dcfd22c15d1be7e2bfbe3a5 /erts/emulator/nifs/common/socket_dbg.h | |
parent | 1b31432a2c60364dc3e7b2a18fa8494475344271 (diff) | |
download | otp-978a8a855c57bdfb20d3bcd8a6055968f3be3887.tar.gz otp-978a8a855c57bdfb20d3bcd8a6055968f3be3887.tar.bz2 otp-978a8a855c57bdfb20d3bcd8a6055968f3be3887.zip |
[socket+net-nif] Backup
Diffstat (limited to 'erts/emulator/nifs/common/socket_dbg.h')
-rw-r--r-- | erts/emulator/nifs/common/socket_dbg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/erts/emulator/nifs/common/socket_dbg.h b/erts/emulator/nifs/common/socket_dbg.h index 36e2be1679..ad0fcdada9 100644 --- a/erts/emulator/nifs/common/socket_dbg.h +++ b/erts/emulator/nifs/common/socket_dbg.h @@ -28,6 +28,16 @@ #define SOCKET_DBG_H__ +/* Used in debug printouts */ +#ifdef __WIN32__ +#define LLU "%I64u" +#else +#define LLU "%llu" +#endif +typedef unsigned long long llu_t; + + + #define ESOCK_DBG_PRINTF( ___COND___ , proto ) \ if ( ___COND___ ) { \ esock_dbg_printf proto; \ |