Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde committed Apr 28, 2023
1 parent 945e85a commit 2c10a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ On windows, creating/attaching a console to a GUI application can be done easily
#include "cpp-terminal/color.hpp"

#include <iostream>
#include <windows.h>

int __stdcall WinMain(HINSTANCE hinst, HINSTANCE hprev, LPSTR cmdline, int show)
{
Expand Down
1 change: 1 addition & 0 deletions tests/attach_console_minimal.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <iostream>

#ifdef _WIN32
#include <windows.h>
int __stdcall WinMain(HINSTANCE hinst, HINSTANCE hprev, LPSTR cmdline, int show)
#else
int main()
Expand Down

0 comments on commit 2c10a5b

Please sign in to comment.