Skip to content

Commit

Permalink
Add <shellapi.h> include for CommandLineToArgvW
Browse files Browse the repository at this point in the history
This should fix the following error:
```
third_party\protobuf\src\google\protobuf\compiler\main.cc(127): error C3861: 'CommandLineToArgvW': identifier not found
```

PiperOrigin-RevId: 613319460
  • Loading branch information
zhangskz committed Mar 6, 2024
1 parent 480ddc6 commit 2299e1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/google/protobuf/compiler/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#ifdef _MSC_VER
#include <windows.h>
#include <shellapi.h>
#endif

namespace google {
Expand Down

0 comments on commit 2299e1d

Please sign in to comment.