]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/engine/class.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / tools / build / src / engine / class.cpp
index 2e41e12f8f5015a1bca1b61d33ce749fd86a4b7a..09084c89238979a749c919f8fc47bbd941eab9ff 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * Copyright Vladimir Prus 2003.
  * Distributed under the Boost Software License, Version 1.0.
- * (See accompanying file LICENSE_1_0.txt or copy at
- * http://www.boost.org/LICENSE_1_0.txt)
+ * (See accompanying file LICENSE.txt or copy at
+ * https://www.bfgroup.xyz/b2/LICENSE.txt)
  */
 
 #include "class.h"
@@ -16,6 +16,7 @@
 #include "jam_strings.h"
 #include "variable.h"
 #include "output.h"
+#include "startup.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -34,7 +35,7 @@ static void check_defined( LIST * class_names )
         {
             out_printf( "Class %s is not defined\n", object_str( list_item( iter ) )
                 );
-            abort();
+            b2::clean_exit( b2::exit_result::failure );
         }
     }
 }
@@ -143,7 +144,7 @@ OBJECT * make_class_module( LIST * xname, LIST * bases, FRAME * frame )
     {
         out_printf( "Class %s already defined\n", object_str( list_front( xname ) )
             );
-        abort();
+        b2::clean_exit( b2::exit_result::failure );
     }
     check_defined( bases );