Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed CPP options so that Apple blocks are ignored ins stdlib.h

  • Loading branch information...
commit de11f1f9d3f89be5668ec17b22b3cf75f8a1beb0 1 parent c25d035
@axman6 authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 OpenCL.cabal
View
10 OpenCL.cabal
@@ -1,5 +1,5 @@
Name: OpenCL
-Version: 1.0.2.4
+Version: 1.0.2.5
License: BSD3
License-File: LICENSE
Author: Luis Cabellos
@@ -46,10 +46,14 @@ Library
Other-Modules:
System.GPU.OpenCL.Types
+
+ if os(darwin)
+ cpp-options: "-U__BLOCKS__"
+
if os(windows)
- cpp-options: "-DCALLCONV=stdcall"
+ cpp-options: "-DCALLCONV=stdcall"
else
- cpp-options: "-DCALLCONV=ccall"
+ cpp-options: "-DCALLCONV=ccall"
cpp-options: -Iinclude
Please sign in to comment.
Something went wrong with that request. Please try again.