Skip to content

Commit

Permalink
Use LegacyIOService.h to avoid issues with sdk versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
lvs1974 committed Mar 12, 2020
1 parent 6b1bf14 commit ce04815
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CpuTscSync.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@
OTHER_LDFLAGS = "-static";
PRODUCT_BUNDLE_IDENTIFIER = org.lvs1974.driver.CpuTscSync;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
WRAPPER_EXTENSION = kext;
};
name = Debug;
Expand Down Expand Up @@ -414,6 +415,7 @@
OTHER_LDFLAGS = "-static";
PRODUCT_BUNDLE_IDENTIFIER = org.lvs1974.driver.CpuTscSync;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
STRIP_STYLE = "non-global";
WRAPPER_EXTENSION = kext;
};
Expand Down
2 changes: 1 addition & 1 deletion CpuTscSync/VoodooTSCSync.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
*/

#include <IOKit/IOService.h>
#include <Library/LegacyIOService.h>
#include <IOKit/IOLib.h>
#include <i386/proc_reg.h>

Expand Down

0 comments on commit ce04815

Please sign in to comment.