Added webserver, parse args, A1066

This commit is contained in:
2023-03-22 06:45:51 +05:00
parent dc9a742471
commit 4f74b0a1b8
9 changed files with 272 additions and 68 deletions

View File

@ -1,15 +1,15 @@
#ifndef BITWI2DL_GETOSNAME_H
#define BITWI2DL_GETOSNAME_H
#ifndef BIT_GETOSNAME_H
#define BIT_GETOSNAME_H
#include <string>
std::string getOsName() {
#ifdef _WIN64
return "windows 64-bit";
return "mustdie64";
#elif _WIN32
return "windows 32-bit";
return "mustdie32";
#elif __APPLE__ || __MACH__
return "mac osx";
return "osx";
#elif __linux__
return "linux";
#elif __FreeBSD__