[wpiutil] Rename CreateEvent and CreateSemaphore to Make (#8710)

CreateEvent and CreateSemaphore are macros in Windows.h, which causes a
ton of trouble. Just rename the functions.

Closes #7303

Replaces #7336
This commit is contained in:
Thad House
2026-03-30 15:54:42 -07:00
committed by GitHub
parent d248c040bf
commit bf218113db
20 changed files with 47 additions and 48 deletions

View File

@@ -88,7 +88,7 @@ int main(void) {
return 1;
}
WPI_EventHandle eventHandle = WPI_CreateEvent(0, 0);
WPI_EventHandle eventHandle = WPI_MakeEvent(0, 0);
HAL_ProvideNewDataEventHandle(eventHandle);
while (1) {