Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* Add missing dependency on CFLite for CFRunLoopTimerExample project.

* Provide simple lround implementation for Windows use.


git-svn-id: https://opencflite.svn.sourceforge.net/svnroot/opencflite@128 949b7c4e-b822-e185-8c53-f993a654f32e
  • Loading branch information...
commit 4204c114ea5176a09f0e357eb10d5b6f4204a0e7 1 parent cdf07ea
bfulgham authored
View
3  CFLite.sln
@@ -72,6 +72,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CFRunLoopTimerExample", "ex
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.Debug = "False"
EndProjectSection
+ ProjectSection(ProjectDependencies) = postProject
+ {EC99198F-4CDD-4D85-AE6F-F837FF6CC372} = {EC99198F-4CDD-4D85-AE6F-F837FF6CC372}
+ EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
View
4 examples/CFRunLoopTimerExample/CFRunLoopTimerExample.c
@@ -13,6 +13,10 @@
#include <stdlib.h>
#if !defined(_WIN32)
#include <unistd.h>
+#else
+static int lround(double d) {
+ return (int)floor (d + 0.5);
+}
#endif
#include <AssertMacros.h>
Please sign in to comment.
Something went wrong with that request. Please try again.