33 #ifndef GOOGLE_PROTOBUF_COMPILER_SUBPROCESS_H__
34 #define GOOGLE_PROTOBUF_COMPILER_SUBPROCESS_H__
37 #ifndef WIN32_LEAN_AND_MEAN
38 #define WIN32_LEAN_AND_MEAN // right...
42 #include <sys/types.h>
45 #include <google/protobuf/stubs/common.h>
49 #include <google/protobuf/port_def.inc>
71 void Start(
const std::string& program, SearchMode search_mode);
83 static std::string Win32ErrorMessage(DWORD error_code);
88 DWORD process_start_error_;
111 #include <google/protobuf/port_undef.inc>
113 #endif // GOOGLE_PROTOBUF_COMPILER_SUBPROCESS_H__