Platform: Windows: Unicode safe

Compile and run correctly whether UNICODE and _UNICODE are defined or not
This commit is contained in:
Paul Hollinsky
2021-01-28 15:51:35 -05:00
parent 33a84bf8ce
commit 09a02ff420
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ PCAPDLL::PCAPDLL()
}
}
#endif
dll = LoadLibrary("wpcap.dll");
dll = LoadLibrary(TEXT("wpcap.dll"));
if(dll == NULL) {
closeDLL();