Author: [email protected]
Date: Tue Apr 14 07:58:23 2009
New Revision: 1707

Modified:
    branches/bleeding_edge/samples/process.cc
    branches/bleeding_edge/src/mksnapshot.cc

Log:
Remove definition of _HAS_EXCEPTIONS from source files.

The define _HAS_EXCEPTIONS=0 is only required on Windows and is already set  
in the SCons build file and Visual Studio project files.
Review URL: http://codereview.chromium.org/67116

Modified: branches/bleeding_edge/samples/process.cc
==============================================================================
--- branches/bleeding_edge/samples/process.cc   (original)
+++ branches/bleeding_edge/samples/process.cc   Tue Apr 14 07:58:23 2009
@@ -27,8 +27,6 @@

  #include <v8.h>

-// To avoid warnings from <map> on windows we disable exceptions.
-#define _HAS_EXCEPTIONS 0
  #include <string>
  #include <map>


Modified: branches/bleeding_edge/src/mksnapshot.cc
==============================================================================
--- branches/bleeding_edge/src/mksnapshot.cc    (original)
+++ branches/bleeding_edge/src/mksnapshot.cc    Tue Apr 14 07:58:23 2009
@@ -25,8 +25,6 @@
  // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-// To avoid warnings from <map> on windows we disable exceptions.
-#define _HAS_EXCEPTIONS 0
  #include <signal.h>
  #include <string>
  #include <map>

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to