pool_construct.bat 727 B

123456789101112131415161718192021222324
  1. @echo off
  2. rem
  3. rem Copyright (C) 2000, 2001 Stephen Cleary
  4. rem
  5. rem Distributed under the Boost Software License, Version 1.0. (See accompany-
  6. rem ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. rem Check for Windows NT
  8. if %OS%==Windows_NT goto NT
  9. rem Not NT - run m4 as normal, then exit
  10. m4 -P -E -DNumberOfArguments=%1 pool_construct.m4 > pool_construct.ipp
  11. goto end
  12. rem DJGPP programs (including m4) running on Windows/NT do NOT support long
  13. rem file names (see the DJGPP v2 FAQ, question 8.1)
  14. rem Note that the output doesn't have to be a short name because it's an
  15. rem argument to the command shell, not m4.
  16. :NT
  17. m4 -P -E -DNumberOfArguments=%1 < pool_construct.m4 > pool_construct.ipp
  18. :end