mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Replace static const int with enum to fix obnoxious linker errors about a missing definition
llvm-svn: 259712
This commit is contained in:
parent
0bfde8fac7
commit
cecfc2dd9e
@ -44,7 +44,7 @@ struct ProcessInfo {
|
||||
#error "ProcessInfo is not defined for this platform!"
|
||||
#endif
|
||||
|
||||
static const ProcessId InvalidPid = 0;
|
||||
enum : ProcessId { InvalidPid = 0 };
|
||||
|
||||
/// The process identifier.
|
||||
ProcessId Pid;
|
||||
|
Loading…
Reference in New Issue
Block a user