/*
Function: str_comp
Compares to strings case sensitive.
/*
Function: str_comp_num
Compares up to num characters of two strings case sensitive.
> grep "player has entered the game." *.log* | wc -l
21396
> grep "using Custom Client" *.log* | wc -l
17869
$ python
Python 3.6.2 (default, Jul 20 2017, 03:52:27)
[GCC 7.1.1 20170630] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 17869/21396
0.8351561039446626
Version | Occurences
10086 | 9939
10071 | 1861
10067 | 886
708 | 847
10085 | 479
10043 | 475
10083 | 387
903 | 368
10063 | 302
10042 | 232
1003 | 227
10050 | 221
10062 | 219
10060 | 173
10035 | 164
900 | 146
10084 | 110
10061 | 99
10070 | 97
10064 | 94
10082 | 92
1002 | 71
705 | 67
10034 | 55
10066 | 47
10041 | 44
1 | 42
10065 | 35
902 | 33
703 | 29
10080 | 29
999999999 | 27
801 | 26
602 | 23
1001 | 21
800 | 17
10081 | 17
1337666 | 16
16 | 12
502 | 11
605 | 8
709 | 6
704 | 4
308 | 2
10068 | 2
702 | 2
707 | 2
604 | 1
706 | 1
2 | 1
src\engine\client\backend_sdl.cpp: In member function 'virtual int CGraphicsBackend_SDL_OpenGL::Init(const char*, int*, int*, int*, int, int, int*, int*)':
C:\Users\Edgar\Desktop\ddnet\src\engine\client\backend_sdl.cpp:561:41: error: 'putenv' was not declared in this scope
putenv("SDL_VIDEO_WINDOW_POS=center"); // ignore_convention
(edited)On Windows, it's named _putenv. The leading underscore correctly signals that it's not a standard C function but an implementation extension. You might be able to get away with /Dputenv=_putenv