use #ifdef not #if

This commit is contained in:
Greg Weber 2012-03-14 09:27:29 -07:00
parent 28cf60e6e7
commit 94f85edea2

View File

@ -20,7 +20,7 @@
# * add code in Application.hs to use the heroku package and load the connection parameters.
# The below works for Postgresql.
#
# #if !DEVELOPMENT
# #ifndef DEVELOPMENT
# import qualified Web.Heroku
# #endif
#
@ -47,7 +47,7 @@
# logWare = logCallback (logBS setLogger)
##endif
#
# #if !DEVELOPMENT
# #ifndef DEVELOPMENT
# canonicalizeKey :: (Text, val) -> (Text, val)
# canonicalizeKey ("dbname", val) = ("database", val)
# canonicalizeKey pair = pair
@ -62,7 +62,7 @@
#
# loadHerokuConfig :: IO AT.Value
# loadHerokuConfig = do
# #if DEVELOPMENT
# #ifdef DEVELOPMENT
# return $ AT.Object M.empty
# #else
# Web.Heroku.dbConnParams >>= return . toMapping . map canonicalizeKey