Skip to content

Commit

Permalink
Clean-up special printf's / windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lgblgblgb committed Aug 14, 2023
1 parent c59b240 commit 7a209db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions targets/mega65/uart_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ char umon_write_buffer[UMON_WRITE_BUFFER_SIZE];

#define UNCONNECTED XS_INVALID_SOCKET

#ifdef XEMU_ARCH_WIN
# define PRINTF_SOCK "%I64d"
#ifdef XEMU_ARCH_WIN64
# define PRINTF_SOCK "%I64lld"
#else
# define PRINTF_SOCK "%d"
#endif
Expand Down
4 changes: 2 additions & 2 deletions xemu/emutools_basicdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ typedef uint64_t Uint64;
# define DIRSEP_CHR '\\'
# define NL "\r\n"
# define NL_LENGTH 2
# define PRINTF_LLD "%I64d"
# define PRINTF_LLU "%I64u"
# define PRINTF_LLD "%I64lld"
# define PRINTF_LLU "%I64llu"
# define MKDIR(__n) mkdir(__n)
# define NULL_DEVICE "NUL:"
#endif
Expand Down

0 comments on commit 7a209db

Please sign in to comment.