fix:修正非win编译。
This commit is contained in:
		
							parent
							
								
									45d22c927b
								
							
						
					
					
						commit
						b130012e5b
					
				@ -1,4 +1,6 @@
 | 
				
			|||||||
#include "of_win.h"
 | 
					#include "of_win.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef _WIN32
 | 
				
			||||||
#include <windows.h>
 | 
					#include <windows.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
constexpr auto g_VSReg = ofT("");
 | 
					constexpr auto g_VSReg = ofT("");
 | 
				
			||||||
@ -70,3 +72,4 @@ bool COfWin::isAdminRun(bool& is_admin)
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
	return static_cast<bool>(isAdmin);
 | 
						return static_cast<bool>(isAdmin);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user