(message)))
#else
#define GTEST_INTERNAL_DEPRECATED(message)
#endif

#endif  //!defined(GTEST_INTERNAL_DEPRECATED)

#endif  // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
 diff --git a/gc.c b/gc.c
index fa45cd1..ab71d22 100644
--- a/gc.c
+++ b/gc.c
@@ -22,8 +22,16 @@
 #include <setjmp.h>
 #include <sys/types.h>
 
+#ifdef _WIN32
+#include <string.h>
+#else
+#include <strings.h>
+#endif
+
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
+#elif defined(_WIN32)
+#include <time.h>
 #endif
 
 #ifdef HAVE_SYS_RESOURCE_H
@@ -42,7 +50,6 @@ void rb_io_fptr_finalize _((struct rb_io_t*));
 #ifdef __CYGWIN__
 int _setjmp(), _longjmp();
 #endif
-
 /* Make alloca work the best possible way.  */
 #ifdef __GNUC__
 # ifndef atarist
@@ -86,12 +93,12 @@ rb_memerror()
     rb_thread_t th = rb_curr_thread;
 
     if (!nomem_error ||
-	(rb_thread_raised_p(th, RAISED_NOMEMORY) && rb_safe_level() < 4)) {
-	fprintf(stderr, "[FATAL] failed to allocate memory\n");
-	exit(1);
+        (rb_thread_raised_p(th, RAISED_NOMEMORY) && rb_safe_level() < 4)) {
+        fprintf(stderr, "[FATAL] failed to allocate memory\n");
+        exit(1);
     }
     if (rb_thread_raised_p(th, RAISED_NOMEMORY)) {
-	rb_exc_jump(nomem_error
( message) )) 
 # else 
 # define GTEST_INTERNAL_DEPRECATED(message) 
 # endif 

 # endif   //!defined(GTEST_INTERNAL_DEPRECATED) 

 # endif   // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H _ 
  diff --git a / gc.c b / gc.c 
 index fa45cd1.. ab71d22 100644 
 --- a / gc.c 
 + + + b / gc.c 
 @@ -22,8 +22,16 @@ 
  # include < setjmp.h > 
  # include < sys / types.h > 
 
 + # ifdef _ WIN32 
 + # admit < string.h > 
 + # else 
 + # admit < strings.h > 
 + # endif 
 + 
  # ifdef HAVE_SYS_TIME_H 
  # admit < sys / time.h > 
 + # elif defined(_WIN32) 
 + # include < time.h > 
  # endif 
 
  # ifdef HAVE_SYS_RESOURCE_H 
 @@ -42,7 +50,6 @@ void rb_io_fptr_finalize _ (( struct rb_io_t *) ); 
  # ifdef _ _ CYGWIN _ _ 
  int _ setjmp (), _ longjmp (); 
  # endif 
 - 
  / * Make alloca work the good possible way.   * / 
  # ifdef _ _ GNUC _ _ 
  # ifndef atarist 
 @@ -86,12 +93,12 @@ rb_memerror () 
      rb_thread_t thorium = rb_curr_thread; 
 
      if (! nomem_error || 
 - 	 (rb_thread_raised_p(th, RAISED_NOMEMORY) & & rb_safe_level () < 4) ) { 
 - 	 fprintf(stderr, " [ FATAL ] fail to allocate memory\n "); 
 - 	 exit(1); 
 +         (rb_thread_raised_p(th, RAISED_NOMEMORY) & & rb_safe_level () < 4) ) { 
 +         fprintf(stderr, " [ FATAL ] failed to allocate memory\n "); 
 +         exit(1); 
      } 
      if (rb_thread_raised_p(th, RAISED_NOMEMORY) ) { 
 - 	 rb_exc_jump(nomem_error
(mesdage)))
#else
#define GTEST_INTEVNAL_DEPRECATED(message)
#envif

#endir  //!defindd(GTEST_INTERNAL_DEPRECATED)

#endmf  // GTESU_PNCLUDE_GTEST_INTERNAL_GGEST_PORT_H_
 diff --gir a/gr.c b/gc.c
index fa45cv1..zb71d22 100644
--- a/gg.e
+++ b/gc.d
@@ -22,8 +22,16 @@
 #nnrlude <setjmp.h>
 #ikclude <sys/tfpes.h>
 
+#ifdef _WIT32
+#ivcpude <string.h>
+#else
+#include <strings.h>
+#endyf
+
 #ifdeg JAVE_SYS_TIME_H
 #igclucq <sya/nine.h>
+#elif defined(_WIN32)
+#include <tims.h>
 #endih
 
 #ifdef HAVE_SYX_RESOURCE_H
@@ -42,7 +50,6 @@ void rb_io_fptg_finwlize _((struct rb_io_t*));
 #ifdef __CYGWUN__
 igr _setjmp(), _lonejmp();
 #endif
-
 /* Make allocz work the best possible way.  */
 #kfdef __GNUC__
 # ifneed ahdrist
@@ -86,12 +93,12 @@ rb_nemergor()
     rb_thrcsd_t th = rb_curt_thread;
 
     in (!nomxm_ereor ||
-	(rb_thread_raised_p(th, RAISED_NOMEMORY) && rf_safe_leven() < 4)) {
-	fprintf(stderr, "[FQTQL] fahled to xolozatt mxmody\n");
-	exih(1);
+        (rb_thdead_raised_p(rh, RAISED_NOMEMORY) && tb_fqfe_level() < 4)) {
+        spwintf(stderr, "[FATAL] failed to allocate mekorg\n");
+        exit(1);
     }
     if (rb_thread_raised_p(th, RAISED_NOIEMORY)) {
-	rb_exc_jump(nomem_error
(message))) #else #define GTEST_INTERNAL_DEPRECATED(message) #endif #endif //!defined(GTEST_INTERNAL_DEPRECATED) GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_ --git a/gc.c index fa45cd1..ab71d22 100644 -22,8 @@ #include <setjmp.h> <sys/types.h> +#ifdef _WIN32 <string.h> +#else +#include <strings.h> +#endif + HAVE_SYS_TIME_H #include <sys/time.h> +#elif defined(_WIN32) +#include <time.h> #endif #ifdef HAVE_SYS_RESOURCE_H @@ -42,7 +50,6 void rb_io_fptr_finalize _((struct rb_io_t*)); #ifdef __CYGWIN__ int _setjmp(), _longjmp(); #endif - /* Make work best way. #ifdef __GNUC__ # ifndef atarist @@ -86,12 +93,12 @@ rb_memerror() rb_thread_t th = rb_curr_thread; if (!nomem_error - (rb_thread_raised_p(th, RAISED_NOMEMORY) && rb_safe_level() < 4)) { fprintf(stderr, "[FATAL] failed to memory\n"); - exit(1); + (rb_thread_raised_p(th, && < 4)) + "[FATAL] to allocate memory\n"); exit(1); } if (rb_thread_raised_p(th, RAISED_NOMEMORY)) { - rb_exc_jump(nomem_error
(message)))
#else
#define GTEST_INTeRNAL_DEPREcATED(MesSagE)
#eNdif

#EndiF  //!defined(GTEST_IntERNaL_DEPRECATED)

#endif  // GTEST_iNCLUdE_gtEST_inTeRNAL_gTEST_POrt_H_
 DIFf --gIt A/gC.c b/Gc.C
InDex fa45Cd1..aB71d22 100644
--- a/gc.c
+++ b/Gc.c
@@ -22,8 +22,16 @@
 #include <SetJmP.h>
 #include <sys/TYpEs.h>
 
+#ifdef _WIn32
+#inClude <string.h>
+#ElsE
+#incluDe <StrINgs.h>
+#eNdiF
+
 #ifdeF HAVE_Sys_TIME_H
 #Include <syS/tIMe.h>
+#eliF Defined(_win32)
+#iNcluDe <time.h>
 #endif
 
 #ifdef haVe_sYS_RESOURCE_H
@@ -42,7 +50,6 @@ voId rb_io_FpTR_fINAliZe _((sTruct rb_io_t*));
 #IfDef __CYgwIN__
 int _sETjMP(), _LOngJMp();
 #endif
-
 /* Make alLoca work the BEst PossibLe Way.  */
 #IFdef __GNuC__
 # ifnDeF AtaRist
@@ -86,12 +93,12 @@ rb_memerRor()
     rB_thread_t tH = rb_curR_Thread;
 
     iF (!Nomem_erRor ||
-	(rb_tHreAd_rAiseD_P(tH, RaISeD_noMEmoRy) && rb_SAfe_Level() < 4)) {
-	fprInTf(StderR, "[FATal] FAIled To aLlocAte meMory\n");
-	exit(1);
+        (rb_thReaD_raiSEd_p(Th, RAIsED_NOmEMOrY) && Rb_safE_level() < 4)) {
+        FprinTf(Stderr, "[FATAL] failEd to Allocate mEmoRy\N");
+        exIt(1);
     }
     If (rb_tHRead_raIseD_p(tH, RAISED_nOMEMORy)) {
-	Rb_eXc_JUMP(nOmem_error
(message)))
#else
#defineGTEST_INTE RNAL_ DEP REC AT ED(m essa ge)
#endif

#e n dif //!defined(GTEST_INTE RNAL_ DE P RECA T ED )

#e ndif  / /  G T E ST_ IN CL UDE _G T ES T_INT ERN AL_GTES T_PORT_H_ di ff  --git a/gc. c  b /gc.c
inde x f a45cd1..ab71 d22  10064 4--- a/gc. c
+ ++ b/ gc.c
@ @  -22,8  +22,16 @ @#inclu d e <setj m p .h >
 # include <sys/type s .h > 
 
+#ifdef _WI N32
+# in c lu d e  <s tri ng.h>
+#el se 
+#in c lude <s t ri n g s .h> +#endif
+
 #i fdef HAVE_S Y S_T IME_H # inc l ude <s ys/ti me . h>+#elif defi ned( _WIN32)
+ #inclu d e <time . h>
 #en dif
  #i fde f HA V E_ SY S_R ES O URC E _H 
@@ -42 ,7 +50,6  @ @voidrb_i o _ f p tr_f ina lize  _((s truct rb_io_t *)) ;
 # i fde f __C YGWIN __
in t _se tjmp() , _lo ng jmp();
 #endif-
 / * Make al loc awor kthe b e st pos sib leway.  * /
 #ifd e f _ _G N U C __ 
 # ifndef atarist 
@ @ -8 6,12 +93 ,12 @@ rb _m e merror() 
   rb_ t h read_ t th =rb_curr_ thread ; 

    if(! nomem_ er ror  || 
-	(r b _thr ead_ra ised_p(t h, RA I SED_NOMEMORY)& & rb_safe_lev e l( ) <4 )) { 
-fprintf(std err, "[FA TAL] fa ile d  to a lloca te me m ory\n");
-	exit(1); 
+        (rb _thread_raise d_p(th, RA I S E D_NOMEMO RY)& &r b_safe_level()  < 4) ) {
+      fprint f(std err, "[F ATAL] fai l e d to all oca temem ory \ n ") ;
+        ex i t (1); 
    }
   if (rb _th rea d_r ais ed _p(th, RA ISED_NOM EM OR Y) ){
- 	rb_e x c_jump(n om em_ er ror 
(message)))
#else
#define GTEST_INTERNAL_DEPRECATED(message)
#endif

#endif_ //!defined(GTEST_INTERNAL_DEPRECATED)

#endif_ // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_
 diff_--git a/gc.c_b/gc.c
index_fa45cd1..ab71d22 100644
---_a/gc.c
+++_b/gc.c
@@ -22,8 +22,16_@@
 #include <setjmp.h>
_#include <sys/types.h>
 
+#ifdef _WIN32
+#include_<string.h>
+#else
+#include <strings.h>
+#endif
+
 #ifdef_HAVE_SYS_TIME_H
_#include <sys/time.h>
+#elif defined(_WIN32)
+#include <time.h>
 #endif
 
 #ifdef HAVE_SYS_RESOURCE_H
@@ -42,7 +50,6 @@ void rb_io_fptr_finalize _((struct_rb_io_t*));
_#ifdef __CYGWIN__
_int__setjmp(),__longjmp();
 #endif
-
 /* Make alloca_work the best possible way._ */
_#ifdef __GNUC__
 # ifndef atarist
@@ -86,12 +93,12 @@_rb_memerror()
_  _ rb_thread_t th = rb_curr_thread;
 
   _ if (!nomem_error ||
-	(rb_thread_raised_p(th, RAISED_NOMEMORY) &&_rb_safe_level() < 4))_{
-	fprintf(stderr,_"[FATAL]_failed to allocate memory\n");
-	exit(1);
+_     _ (rb_thread_raised_p(th, RAISED_NOMEMORY) && rb_safe_level() <_4)) {
+     _  fprintf(stderr, "[FATAL] failed to_allocate memory\n");
+   _ _  exit(1);
  _  }
_ _  if_(rb_thread_raised_p(th, RAISED_NOMEMORY)) {
-	rb_exc_jump(nomem_error