cvs commit: fptools/libraries/network/include HsNet.h fptools/libraries/unix/include HsUnix.h

Sven Panne panne at haskell.org
Wed Sep 22 05:14:23 EDT 2004


panne       2004/09/22 02:14:23 PDT

  Modified files:
    libraries/network/include HsNet.h 
    libraries/unix/include HsUnix.h 
  Log:
  As a temporary measure, use an ultra-evil sledgehammer method to silence the
  PACKAGE_FOO clashes. The correct way of doing this would be splitting up
  HsPACKAGE.h and ghcconfig.h into two parts each: One part would be generated by
  autoheader and would contain the defines which are needed during package build
  time only. The other part would contain all kinds of stuff which is needed for
  using the given package (no PACKAGE_FOO defines here). For an example of this,
  see the OpenAL package. As an additional benefit, this would keep the namespace
  much cleaner, because 2nd kind of headers is typically smaller.
  
  No time for the real thing currently, hope the current workaround works...
  
  Revision  Changes    Path
  1.22      +15 -1     fptools/libraries/network/include/HsNet.h
  1.17      +15 -1     fptools/libraries/unix/include/HsUnix.h


More information about the Cvs-libraries mailing list