Skip to content
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...
1 parent cdf07ea commit 4204c114ea5176a09f0e357eb10d5b6f4204a0e7 bfulgham committed Mar 11, 2009
Showing with 7 additions and 0 deletions.
  1. +3 −0 CFLite.sln
  2. +4 −0 examples/CFRunLoopTimerExample/CFRunLoopTimerExample.c
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>

0 comments on commit 4204c11

Please sign in to comment.
Something went wrong with that request. Please try again.