comparison megawifi.c @ 1535:2781b9551004 nuklear_ui

MSG_NOSIGNAL doesn't exist on all platforms
author Michael Pavone <pavone@retrodev.com>
date Sun, 25 Mar 2018 10:28:08 -0700
parents 713b504dc577
children 1a09422b87a5
comparison
equal deleted inserted replaced
1534:c59adc305e46 1535:2781b9551004
30 #define E(N) #N 30 #define E(N) #N
31 static const char *cmd_names[] = { 31 static const char *cmd_names[] = {
32 #include "mw_commands.c" 32 #include "mw_commands.c"
33 [255] = "CMD_ERROR" 33 [255] = "CMD_ERROR"
34 }; 34 };
35
36 #ifndef MSG_NOSIGNAL
37 #define MSG_NOSIGNAL 0
38 #endif
35 39
36 enum { 40 enum {
37 STATE_IDLE=1, 41 STATE_IDLE=1,
38 STATE_AP_JOIN, 42 STATE_AP_JOIN,
39 STATE_SCAN, 43 STATE_SCAN,