mirror of
https://github.com/solemnwarning/ipxwrapper
synced 2024-12-30 16:45:37 +01:00
Replaced single use of std::cerr with fprintf in ipxconfig, reduced binary size by ~400kB. Yay C++!
This commit is contained in:
parent
aa65b02627
commit
b08c4383cc
@ -15,12 +15,10 @@
|
|||||||
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include <iphlpapi.h>
|
#include <iphlpapi.h>
|
||||||
#include <iostream>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@ -410,7 +408,7 @@ static void addr_input_dialog(const char *desc, char *dest, int size) {
|
|||||||
NULL,
|
NULL,
|
||||||
v
|
v
|
||||||
)) {
|
)) {
|
||||||
std::cerr << "Failed to create dialog: " << w32_errmsg(GetLastError()) << std::endl;
|
fprintf(stderr, "Failed to create dialog: %s\r\n", w32_errmsg(GetLastError()).c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user