Commit 2961830b authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Define if_not_platform

parent f4326859
...@@ -242,6 +242,12 @@ def if_platform( plat, f ): ...@@ -242,6 +242,12 @@ def if_platform( plat, f ):
else: else:
return normal return normal
def if_not_platform( plat, f ):
if config.platform != plat:
return f
return normal
def if_os( os, f ): def if_os( os, f ):
if config.os == os: if config.os == os:
return f return f
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment