mirror of
https://github.com/libretro/RetroArch
synced 2025-01-06 01:02:15 +00:00
(Logger) Throw error and stop compilation if UDP port and IP address are not defined
instead of ugly hardcoded static IP address/UDP port defaults
This commit is contained in:
parent
122943299a
commit
dd522e23bb
@ -40,11 +40,11 @@
|
||||
#include "logger.h"
|
||||
|
||||
#if !defined(PC_DEVELOPMENT_IP_ADDRESS)
|
||||
#define PC_DEVELOPMENT_IP_ADDRESS "192.168.1.7"
|
||||
#error "An IP address for the PC logging server was not set in the Makefile, cannot continue."
|
||||
#endif
|
||||
|
||||
#if !defined(PC_DEVELOPMENT_UDP_PORT)
|
||||
#define PC_DEVELOPMENT_UDP_PORT 3490
|
||||
#error "An UDP port for the PC logging server was not set in the Makefile, cannot continue."
|
||||
#endif
|
||||
|
||||
static int g_sid;
|
||||
|
Loading…
Reference in New Issue
Block a user