I tried including the zlib compression library in pygecko.c with
(in order to compress data before sending) but oddly enough, it gives me the following compilation error:
Why is that? The code in os_functions.h is correct and I don't think there are any name conflicts. Any help would be great since I have no clue why this even happens and it would be great to get working so I'm stuck wondering what to try.
Thank you!
@dimok
@QuarkTheAwesome
@wj44
@FIX94
@NWPlayer123
Code:
#include <zlib.h>
Code:
D:\Consoles\WiiU\Applications\Browser\tcpgecko>make
pygecko.c
In file included from d:/Consoles/WiiU/Applications/Browser/tcpgecko/src/pygecko.c:5:0:
d:/Consoles/WiiU/Applications/Browser/tcpgecko/src/dynamic_libs/os_functions.h:65:41: error: expected declaration specifiers or '...' before '(' token
#define SECS_TO_TICKS(sec) (((unsigned long long)(sec)) * (BUS_SPEED/4))
^
d:/Consoles/WiiU/Applications/Browser/tcpgecko/src/dynamic_libs/os_functions.h:67:41: error: expected declaration specifiers or '...' before '(' token
#define MICROSECS_TO_TICKS(usec) (SECS_TO_TICKS(usec) / 1000000)
^
make[1]: *** [pygecko.o] Error 1
make: *** [build] Error 2
Thank you!
@dimok
@QuarkTheAwesome
@wj44
@FIX94
@NWPlayer123